Add some shutdown breaks, for longer events
This commit is contained in:
1 parent
33a8eb9fb1
commit
903d1ce7d1
2 files changed
+12
No files matched your search
@@ -56,6 +56,10 @@ class Manage(Plugin):
|
||||
db.commit()
|
||||
db.remove()
|
||||
|
||||
# Break if CP wants to shut down
|
||||
if self.shuttingDown():
|
||||
break
|
||||
|
||||
self.last_update = time.time()
|
||||
|
||||
def directories(self):
|
||||
|
||||
Reference in new issue
Block a user