From 58c9f937c59f5ed6df791ccacc661e16eb444f57 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 15 Feb 2022 19:14:23 +0100 Subject: [PATCH] fix: Cleanup every 10 mins --- src/lib/queues/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/queues/index.ts b/src/lib/queues/index.ts index 2ebed626a..f8525c4e0 100644 --- a/src/lib/queues/index.ts +++ b/src/lib/queues/index.ts @@ -87,7 +87,7 @@ const cron = async () => { await queue.proxy.add('proxy', {}, { repeat: { every: 10000 } }); // await queue.ssl.add('ssl', {}, { repeat: { every: 10000 } }); - if (!dev) await queue.cleanup.add('cleanup', {}, { repeat: { every: 3600000 } }); + if (!dev) await queue.cleanup.add('cleanup', {}, { repeat: { every: 600000 } }); await queue.sslRenew.add('sslRenew', {}, { repeat: { every: 1800000 } }); const events = {