Waiting longer does not fix problems

pull/175/head
M66B 6 years ago
parent f37e738148
commit 633f3fbc3c

@ -1530,7 +1530,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
if (backoff <= CONNECT_BACKOFF_MAX) { if (backoff <= CONNECT_BACKOFF_MAX) {
// Short back-off period, keep device awake // Short back-off period, keep device awake
try { try {
state.acquire(backoff * 1000L * (state.getMaxConnections() ? 2 : 1)); state.acquire(backoff * 1000L);
} catch (InterruptedException ex) { } catch (InterruptedException ex) {
Log.w(account.name + " backoff " + ex.toString()); Log.w(account.name + " backoff " + ex.toString());
} }

Loading…
Cancel
Save