summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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