From c667f4851148314e0690ea32f559d2876269c08c Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 17 Mar 2021 12:47:00 +0100 Subject: [PATCH] Revert "Increased short back-off to 16 seconds" This reverts commit a80a8c66c78140773d8483c8db49d08ba5846a8d. --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 8050331c36..8a6ae7fd76 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -119,8 +119,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences static final int DEFAULT_POLL_INTERVAL = 0; // minutes private static final int OPTIMIZE_KEEP_ALIVE_INTERVAL = 12; // minutes private static final int OPTIMIZE_POLL_INTERVAL = 15; // minutes - private static final int CONNECT_BACKOFF_START = 16; // seconds - private static final int CONNECT_BACKOFF_MAX = 16; // seconds (totally 16+2x20=56 seconds) + private static final int CONNECT_BACKOFF_START = 8; // seconds + private static final int CONNECT_BACKOFF_MAX = 8; // seconds (totally 8+2x20=48 seconds) private static final int CONNECT_BACKOFF_ALARM_START = 15; // minutes private static final int CONNECT_BACKOFF_ALARM_MAX = 60; // minutes private static final long CONNECT_BACKOFF_GRACE = 2 * 60 * 1000L; // milliseconds