mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Revert "Keep folder alive when skip polling"
This reverts commit b71f8a0246
.
This commit is contained in:
parent
130d215c01
commit
787370f8e8
1 changed files with 0 additions and 4 deletions
|
@ -1690,10 +1690,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|||
} else {
|
||||
if (folder.poll_count == 0)
|
||||
EntityOperation.sync(this, folder.id, false);
|
||||
else {
|
||||
if (!mapFolders.get(folder).isOpen())
|
||||
throw new StoreClosedException(iservice.getStore(), "NOOP " + folder.name);
|
||||
}
|
||||
folder.poll_count = (folder.poll_count + 1) % folder.poll_factor;
|
||||
db.folder().setFolderPollCount(folder.id, folder.poll_count);
|
||||
Log.i(folder.name + " poll count=" + folder.poll_count);
|
||||
|
|
Loading…
Reference in a new issue