Wait two hours after auth failure

This commit is contained in:
M66B 2021-01-09 10:06:11 +01:00
parent 55b7213907
commit 0f4a8be00b
1 changed files with 1 additions and 1 deletions

View File

@ -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)