summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/service
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-08-22 11:27:44 -0300
committerTomás Touceda <chiiph@leap.se>2013-08-22 11:27:44 -0300
commit79971e7c2b26e0dd34462aae8c732029c2701cd9 (patch)
treeca83b5b9ef76f87c814f08c434dba49ce4573393 /src/leap/mail/imap/service
parent1386a8644b1c215b403bc17745fbac4549a76226 (diff)
parent8d19e79b9e946209973a2efb87843a4ea3f47b7d (diff)
Merge remote-tracking branch 'kali/feature/3409_make_imap_fetch_period_configurable' into develop
Diffstat (limited to 'src/leap/mail/imap/service')
-rw-r--r--src/leap/mail/imap/service/imap.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/leap/mail/imap/service/imap.py b/src/leap/mail/imap/service/imap.py
index b4776f2..9e9a524 100644
--- a/src/leap/mail/imap/service/imap.py
+++ b/src/leap/mail/imap/service/imap.py
@@ -35,14 +35,12 @@ from leap.mail.imap.server import SoledadBackedAccount
from leap.mail.imap.fetch import LeapIncomingMail
from leap.soledad.client import Soledad
-IMAP_PORT = 1984
# The default port in which imap service will run
+IMAP_PORT = 1984
-# TODO: Make this configurable
-INCOMING_CHECK_PERIOD = 5
-#INCOMING_CHECK_PERIOD = 60
# The period between succesive checks of the incoming mail
# queue (in seconds)
+INCOMING_CHECK_PERIOD = 300
from leap.common.events.events_pb2 import IMAP_SERVICE_STARTED
from leap.common.events.events_pb2 import IMAP_SERVICE_FAILED_TO_START