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

This commit is contained in:
Eric van der Vlist 2023-02-13 10:02:28 +01:00
parent e1d6fea35c
commit 19aaaba3f8
1 changed files with 3 additions and 0 deletions

View File

@ -269,6 +269,9 @@ export const watchDbLegacy = async () => {
doc,
});
}
if (i === 10000) {
break;
}
}
}
await sleep(60000);