mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Queue useful work only
This commit is contained in:
@@ -2440,6 +2440,9 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
final boolean doStop = started;
|
||||
final boolean doStart = (start && isEnabled() && suitableNetwork());
|
||||
|
||||
if (!doStop && !doStart)
|
||||
return;
|
||||
|
||||
EntityLog.log(ServiceSynchronize.this, "Queue reload " +
|
||||
" doStop=" + doStop + " doStart=" + doStart + " queued=" + queued + " " + reason);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user