Force sync on max fetch count

pull/194/merge
M66B 3 years ago
parent 46c9952408
commit 918b78c543

@ -456,7 +456,7 @@ public class EntityOperation {
int count = db.operation().getOperationCount(folder, name); int count = db.operation().getOperationCount(folder, name);
if (count >= MAX_FETCH) { if (count >= MAX_FETCH) {
Log.i("Replacing fetch by sync folder=" + folder + " args=" + jargs + " count=" + count); Log.i("Replacing fetch by sync folder=" + folder + " args=" + jargs + " count=" + count);
sync(context, folder, false); sync(context, folder, false, true);
return; return;
} }
} }

Loading…
Cancel
Save