mirror of https://github.com/M66B/FairEmail.git
Increase Gmail backoff time
This commit is contained in:
parent
f2b577cec1
commit
b946d03119
|
@ -1457,7 +1457,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|||
EntityLog.log(this, account.name + " backoff=" + backoff);
|
||||
try {
|
||||
state.acquire(backoff *
|
||||
("imap.gmail.com".equalsIgnoreCase(account.host) ? 1500L : 1000L));
|
||||
("imap.gmail.com".equalsIgnoreCase(account.host) ? 2000L : 1000L));
|
||||
} catch (InterruptedException ex) {
|
||||
Log.w(account.name + " backoff " + ex.toString());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue