From 25dfad4f5d45f4859f3040aec23476cd64091b7f Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 16 May 2025 13:26:39 +0200 Subject: [PATCH] run cleanup once at start --- lib/services/demoCleanup.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/services/demoCleanup.js b/lib/services/demoCleanup.js index 5879d57..4d995a4 100644 --- a/lib/services/demoCleanup.js +++ b/lib/services/demoCleanup.js @@ -14,9 +14,8 @@ export function cleanupDemoAtMidnight() { now.getUTCSeconds() * 1000 - now.getUTCMilliseconds(); + cleanup(); setTimeout(() => { - cleanup(); - setInterval( () => { cleanup();