Breaking after 10000 purges to give a chance to delete _local/purges.

This commit is contained in:
vdv committed 2023-02-13 10:02:28 +01:00
1 parent e1d6fea35c
commit 19aaaba3f8
1 file changed
+3
+3
View File
@@ -269,6 +269,9 @@ export const watchDbLegacy = async () => {
doc,
});
}
if (i === 10000) {
break;
}
}
}
await sleep(60000);