summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
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