diff options
author | Jefferson Stachelski <jefferson.stachelski@gmail.com> | 2015-06-24 18:22:06 -0300 |
---|---|---|
committer | Jefferson Stachelski <jefferson.stachelski@gmail.com> | 2015-06-24 18:22:24 -0300 |
commit | 0b179c61043a9854fa23b8fd40fd252864ecd021 (patch) | |
tree | 487dff6105d4308c6cad6e6160849f6346b6db4d | |
parent | ea6e88d0e68309deba304c92d6cae5f31046e8b6 (diff) |
#412 Added a sleep to get a enought time to soledad sync the added mails
-rw-r--r-- | service/pixelated/maintenance.py | 3 |
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() |