From 8853ea4670ad7d56c48fa23ddd146d3cc5e8ca59 Mon Sep 17 00:00:00 2001 From: evlist Date: Sun, 12 Feb 2023 15:20:41 +0100 Subject: [PATCH] Decreasing delay between purges. --- src/db-admin/health-legacy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db-admin/health-legacy.ts b/src/db-admin/health-legacy.ts index 96d1cb8..3601606 100644 --- a/src/db-admin/health-legacy.ts +++ b/src/db-admin/health-legacy.ts @@ -190,7 +190,7 @@ export const watchDbLegacy = async () => { }); let i = 0; for (const doc of deletedDocs) { - await sleep(50); + await sleep(10); try { await db.purge(doc.id, doc.rev); } catch (err) {