From 16527d7d176f66a83d18bdc6e1ca3a6e2c513e85 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 30 Nov 2020 20:03:16 +0100 Subject: [PATCH] Two fast tries --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 9241a531de..44de8a0744 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -111,7 +111,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences 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 = 4; // seconds - private static final int CONNECT_BACKOFF_MAX = 32; // seconds (totally 4+8+16+32=1 minute) + private static final int CONNECT_BACKOFF_MAX = 8; // seconds (totally 4+8+2x20=52 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