summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/service/imap.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-08-07 16:58:39 +0200
committerKali Kaneko <kali@leap.se>2013-08-08 14:08:05 +0200
commit3b005c339e9dc26105b907ccc37c014a9c6734b8 (patch)
tree1d03c1deaf01bd23050f56bbe7a740caba473604 /src/leap/mail/imap/service/imap.py
parent9ce30db34dc4b0e036a79fe557cad2d537067e97 (diff)
Fix incoming processing mail.
The deferred was not working properly so messages in the incoming queue were not being processed.
Diffstat (limited to 'src/leap/mail/imap/service/imap.py')
-rw-r--r--src/leap/mail/imap/service/imap.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/leap/mail/imap/service/imap.py b/src/leap/mail/imap/service/imap.py
index 9e331b6..2ae3012 100644
--- a/src/leap/mail/imap/service/imap.py
+++ b/src/leap/mail/imap/service/imap.py
@@ -34,8 +34,9 @@ from leap.soledad import Soledad
IMAP_PORT = 9930
# The default port in which imap service will run
-# INCOMING_CHECK_PERIOD = 5
-INCOMING_CHECK_PERIOD = 60
+# TODO: Make this configurable
+INCOMING_CHECK_PERIOD = 5
+#INCOMING_CHECK_PERIOD = 60
# The period between succesive checks of the incoming mail
# queue (in seconds)