summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/feature_reduce-polling-time1
-rw-r--r--src/leap/mail/imap/service/imap.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changes/feature_reduce-polling-time b/changes/feature_reduce-polling-time
new file mode 100644
index 0000000..85badca
--- /dev/null
+++ b/changes/feature_reduce-polling-time
@@ -0,0 +1 @@
+ o Set remote mail polling time to 60 seconds. Closes: #4499
diff --git a/src/leap/mail/imap/service/imap.py b/src/leap/mail/imap/service/imap.py
index feb2593..8756ddc 100644
--- a/src/leap/mail/imap/service/imap.py
+++ b/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