summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-11-26 15:53:11 -0200
committerKali Kaneko <kali@leap.se>2013-11-26 15:53:11 -0200
commitb4d467db6fc5775ac727d061e6ea085386e76fd6 (patch)
tree01a6fbeb7e750bf53bb39a56e3068d8281a21205 /mail
parent0340577312b2ff6322df4bc91d126144a4dc8ebd (diff)
reduce polling time to one minute
Diffstat (limited to 'mail')
-rw-r--r--mail/changes/feature_reduce-polling-time1
-rw-r--r--mail/src/leap/mail/imap/service/imap.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/mail/changes/feature_reduce-polling-time b/mail/changes/feature_reduce-polling-time
new file mode 100644
index 00000000..85badcaf
--- /dev/null
+++ b/mail/changes/feature_reduce-polling-time
@@ -0,0 +1 @@
+ o Set remote mail polling time to 60 seconds. Closes: #4499
diff --git a/mail/src/leap/mail/imap/service/imap.py b/mail/src/leap/mail/imap/service/imap.py
index feb2593a..8756ddcd 100644
--- a/mail/src/leap/mail/imap/service/imap.py
+++ b/mail/src/leap/mail/imap/service/imap.py
@@ -41,7 +41,7 @@ IMAP_PORT = 1984
# The period between succesive checks of the incoming mail
# queue (in seconds)
-INCOMING_CHECK_PERIOD = 300
+INCOMING_CHECK_PERIOD = 60
from leap.common.events.events_pb2 import IMAP_SERVICE_STARTED
from leap.common.events.events_pb2 import IMAP_SERVICE_FAILED_TO_START