Increase Gmail backoff time

pull/174/head
M66B 6 years ago
parent f2b577cec1
commit b946d03119

@ -1457,7 +1457,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
EntityLog.log(this, account.name + " backoff=" + backoff); EntityLog.log(this, account.name + " backoff=" + backoff);
try { try {
state.acquire(backoff * state.acquire(backoff *
("imap.gmail.com".equalsIgnoreCase(account.host) ? 1500L : 1000L)); ("imap.gmail.com".equalsIgnoreCase(account.host) ? 2000L : 1000L));
} catch (InterruptedException ex) { } catch (InterruptedException ex) {
Log.w(account.name + " backoff " + ex.toString()); Log.w(account.name + " backoff " + ex.toString());
} }

Loading…
Cancel
Save