Increased one shot duration to 2 minutes

This commit is contained in:
M66B 2019-06-01 08:02:15 +02:00
parent 467a77a66d
commit a0301e65cc
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public class ServiceSynchronize extends LifecycleService {
private static final long RECONNECT_BACKOFF = 90 * 1000L; // milliseconds private static final long RECONNECT_BACKOFF = 90 * 1000L; // milliseconds
private static final int ACCOUNT_ERROR_AFTER = 60; // minutes private static final int ACCOUNT_ERROR_AFTER = 60; // minutes
private static final int BACKOFF_ERROR_AFTER = 16; // seconds private static final int BACKOFF_ERROR_AFTER = 16; // seconds
private static final long ONESHOT_DURATION = 60 * 1000L; // milliseconds private static final long ONESHOT_DURATION = 120 * 1000L; // milliseconds
private static final long STOP_DELAY = 5000L; // milliseconds private static final long STOP_DELAY = 5000L; // milliseconds
static final int PI_ALARM = 1; static final int PI_ALARM = 1;