mirror of https://github.com/M66B/FairEmail.git
Increased report task wait
This commit is contained in:
parent
e7e89cad31
commit
8c9a58e299
|
@ -65,7 +65,7 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||||
private static final List<SimpleTask> tasks = new ArrayList<>();
|
private static final List<SimpleTask> tasks = new ArrayList<>();
|
||||||
|
|
||||||
private static final int MAX_WAKELOCK = 30 * 60 * 1000; // milliseconds
|
private static final int MAX_WAKELOCK = 30 * 60 * 1000; // milliseconds
|
||||||
private static final int REPORT_AFTER = 5 * 60 * 1000; // milliseconds
|
private static final int REPORT_AFTER = 15 * 60 * 1000; // milliseconds
|
||||||
private static final int CANCEL_AFTER = MAX_WAKELOCK; // milliseconds
|
private static final int CANCEL_AFTER = MAX_WAKELOCK; // milliseconds
|
||||||
|
|
||||||
static final String ACTION_TASK_COUNT = BuildConfig.APPLICATION_ID + ".ACTION_TASK_COUNT";
|
static final String ACTION_TASK_COUNT = BuildConfig.APPLICATION_ID + ".ACTION_TASK_COUNT";
|
||||||
|
|
Loading…
Reference in New Issue