mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 18:27:43 +00:00
Retry once only
This commit is contained in:
parent
78d3f1a052
commit
768cf7c45a
1 changed files with 2 additions and 2 deletions
|
@ -116,8 +116,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|||
static final int DEFAULT_POLL_INTERVAL = 0; // minutes
|
||||
private static final int OPTIMIZE_KEEP_ALIVE_INTERVAL = 12; // minutes
|
||||
private static final int OPTIMIZE_POLL_INTERVAL = 15; // minutes
|
||||
private static final int CONNECT_BACKOFF_START = 4; // seconds
|
||||
private static final int CONNECT_BACKOFF_MAX = 8; // seconds (totally 4+8+2x15=42 seconds)
|
||||
private static final int CONNECT_BACKOFF_START = 8; // seconds
|
||||
private static final int CONNECT_BACKOFF_MAX = 8; // seconds (totally 8+2x15=38 seconds)
|
||||
private static final int CONNECT_BACKOFF_ALARM_START = 15; // minutes
|
||||
private static final int CONNECT_BACKOFF_ALARM_MAX = 60; // minutes
|
||||
private static final long CONNECT_BACKOFF_GRACE = 2 * 60 * 1000L; // milliseconds
|
||||
|
|
Loading…
Reference in a new issue