mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Background sync, simplifications
This commit is contained in:
@@ -581,7 +581,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
idler.start();
|
||||
idlers.add(idler);
|
||||
|
||||
EntityOperation.sync(this, folder.id);
|
||||
EntityOperation.sync(this, folder.id, false);
|
||||
} else
|
||||
folders.put(folder, null);
|
||||
|
||||
@@ -722,7 +722,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
if (!folders.get(folder).isOpen())
|
||||
throw new FolderClosedException(folders.get(folder));
|
||||
} else
|
||||
EntityOperation.sync(this, folder.id);
|
||||
EntityOperation.sync(this, folder.id, false);
|
||||
|
||||
// Successfully connected: reset back off time
|
||||
backoff = CONNECT_BACKOFF_START;
|
||||
|
||||
Reference in New Issue
Block a user