run cleanup once at start

This commit is contained in:
Christian Kellner
2025-05-16 13:26:39 +02:00
parent b7a3823049
commit 25dfad4f5d

View File

@@ -14,9 +14,8 @@ export function cleanupDemoAtMidnight() {
now.getUTCSeconds() * 1000 -
now.getUTCMilliseconds();
cleanup();
setTimeout(() => {
cleanup();
setInterval(
() => {
cleanup();