mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 01:53:25 +02:00
Reset fast error count on second keep alive
This commit is contained in:
@@ -1437,6 +1437,9 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
Log.i(folder.name + " poll count=" + folder.poll_count);
|
||||
}
|
||||
}
|
||||
|
||||
if (!first)
|
||||
errors = 0;
|
||||
} catch (Throwable ex) {
|
||||
if (tune) {
|
||||
account.keep_alive_failed++;
|
||||
@@ -1542,7 +1545,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
am.cancel(pi);
|
||||
}
|
||||
|
||||
errors = 0;
|
||||
first = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user