This commit is contained in:
M66B 2020-08-10 13:05:45 +02:00
parent acbb2fb894
commit 810d3604d9
1 changed files with 0 additions and 6 deletions

View File

@ -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);
}
}
}