From 3308c766fd6339682f7fd367b20009c2186fab05 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 13 Feb 2019 07:11:20 +0000 Subject: [PATCH] Report connectivity errors after 90 minutes --- 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 5553db3902..19cbe36028 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -149,7 +149,7 @@ public class ServiceSynchronize extends LifecycleService { private static final int SYNC_BATCH_SIZE = 20; private static final int DOWNLOAD_BATCH_SIZE = 20; private static final long RECONNECT_BACKOFF = 90 * 1000L; // milliseconds - private static final int ACCOUNT_ERROR_AFTER = 60; // minutes + private static final int ACCOUNT_ERROR_AFTER = 90; // minutes private static final int BACKOFF_ERROR_AFTER = 16; // seconds private static final int IDENTITY_ERROR_AFTER = 30; // minutes private static final long STOP_DELAY = 5000L; // milliseconds