Breaking after 10000 purges to give a chance to delete _local/purges.
This commit is contained in:
parent
e1d6fea35c
commit
19aaaba3f8
|
@ -269,6 +269,9 @@ export const watchDbLegacy = async () => {
|
||||||
doc,
|
doc,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (i === 10000) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await sleep(60000);
|
await sleep(60000);
|
||||||
|
|
Loading…
Reference in New Issue