Decreasing delay between purges.
This commit is contained in:
parent
c992782ab7
commit
8853ea4670
|
@ -190,7 +190,7 @@ export const watchDbLegacy = async () => {
|
||||||
});
|
});
|
||||||
let i = 0;
|
let i = 0;
|
||||||
for (const doc of deletedDocs) {
|
for (const doc of deletedDocs) {
|
||||||
await sleep(50);
|
await sleep(10);
|
||||||
try {
|
try {
|
||||||
await db.purge(doc.id, doc.rev);
|
await db.purge(doc.id, doc.rev);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
Loading…
Reference in New Issue