mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 11:28:41 +01:00
Wait two hours after auth failure
This commit is contained in:
@@ -1077,7 +1077,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
} else {
|
||||
Log.e(ex);
|
||||
try {
|
||||
state.setBackoff(CONNECT_BACKOFF_ALARM_MAX * 60);
|
||||
state.setBackoff(2 * CONNECT_BACKOFF_ALARM_MAX * 60);
|
||||
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.notify("receive:" + account.id, 1,
|
||||
Core.getNotificationError(this, "error", account.name, ex)
|
||||
|
||||
Reference in New Issue
Block a user