mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 17:27:00 +00:00
Cleanup
This commit is contained in:
parent
acbb2fb894
commit
810d3604d9
1 changed files with 0 additions and 6 deletions
|
@ -108,7 +108,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|||
private MutableLiveData<List<TupleAccountState>> liveAccountState = new MutableLiveData<>();
|
||||
private MediatorState liveAccountNetworkState = new MediatorState();
|
||||
|
||||
private static final long YIELD_DURATION = 200L; // milliseconds
|
||||
private static final long QUIT_DELAY = 5 * 1000L; // milliseconds
|
||||
private static final long STILL_THERE_THRESHOLD = 3 * 60 * 1000L; // milliseconds
|
||||
static final int DEFAULT_POLL_INTERVAL = 0; // minutes
|
||||
|
@ -771,11 +770,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|||
else {
|
||||
EntityLog.log(this, "### waking up account=" + account);
|
||||
state.release();
|
||||
try {
|
||||
Thread.sleep(YIELD_DURATION);
|
||||
} catch (InterruptedException ex) {
|
||||
Log.w(ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue