From a0301e65cc5e9df98b586d2b4b756fd44208cefe Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 1 Jun 2019 08:02:15 +0200 Subject: [PATCH] Increased one shot duration to 2 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 7d51ba97a5..88b49a3559 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -107,7 +107,7 @@ public class ServiceSynchronize extends LifecycleService { private static final long RECONNECT_BACKOFF = 90 * 1000L; // milliseconds private static final int ACCOUNT_ERROR_AFTER = 60; // minutes private static final int BACKOFF_ERROR_AFTER = 16; // seconds - private static final long ONESHOT_DURATION = 60 * 1000L; // milliseconds + private static final long ONESHOT_DURATION = 120 * 1000L; // milliseconds private static final long STOP_DELAY = 5000L; // milliseconds static final int PI_ALARM = 1;