summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-11-26 14:58:11 -0300
committerTomás Touceda <chiiph@leap.se>2013-11-26 14:58:11 -0300
commita2e5041f87716d10e28e97428188e29506f2e089 (patch)
tree01a6fbeb7e750bf53bb39a56e3068d8281a21205
parent0340577312b2ff6322df4bc91d126144a4dc8ebd (diff)
parentb4d467db6fc5775ac727d061e6ea085386e76fd6 (diff)
Merge remote-tracking branch 'kali/feature/reduce_polling_time' into develop
-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 0000000..85badca
--- /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 feb2593..8756ddc 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