mirror of https://github.com/M66B/FairEmail.git
Retry operations until folder closed
This commit is contained in:
parent
c8f6b77290
commit
9731e17af8
|
@ -150,7 +150,7 @@ class Core {
|
||||||
Log.i(folder.name + " executing operations=" + ops.size());
|
Log.i(folder.name + " executing operations=" + ops.size());
|
||||||
while (retry < LOCAL_RETRY_MAX && ops.size() > 0 &&
|
while (retry < LOCAL_RETRY_MAX && ops.size() > 0 &&
|
||||||
state.batchCanRun(folder.id, priority, sequence) &&
|
state.batchCanRun(folder.id, priority, sequence) &&
|
||||||
state.isRunning() && state.isRecoverable()) {
|
state.isRunning() && ifolder.isOpen()) {
|
||||||
TupleOperationEx op = ops.get(0);
|
TupleOperationEx op = ops.get(0);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue