summaryrefslogtreecommitdiff
path: root/service/pixelated
diff options
context:
space:
mode:
Diffstat (limited to 'service/pixelated')
-rw-r--r--service/pixelated/maintenance.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/pixelated/maintenance.py b/service/pixelated/maintenance.py
index 91300a0a..7170055c 100644
--- a/service/pixelated/maintenance.py
+++ b/service/pixelated/maintenance.py
@@ -21,9 +21,11 @@ from pixelated.config.leap import initialize_leap
from pixelated.config import logger, arguments
from leap.mail.imap.fields import WithMsgFields
+import time
def initialize():
+ import time
args = arguments.parse_maintenance_args()
logger.init(debug=args.debug)
@@ -175,6 +177,7 @@ def dump_soledad(args):
def shutdown(args):
+ time.sleep(30)
reactor.stop()