mirror of https://github.com/M66B/FairEmail.git
Waiting longer does not fix problems
This commit is contained in:
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…
Reference in New Issue