mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
run cleanup once at start
This commit is contained in:
@@ -14,9 +14,8 @@ export function cleanupDemoAtMidnight() {
|
|||||||
now.getUTCSeconds() * 1000 -
|
now.getUTCSeconds() * 1000 -
|
||||||
now.getUTCMilliseconds();
|
now.getUTCMilliseconds();
|
||||||
|
|
||||||
|
cleanup();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
cleanup();
|
|
||||||
|
|
||||||
setInterval(
|
setInterval(
|
||||||
() => {
|
() => {
|
||||||
cleanup();
|
cleanup();
|
||||||
|
|||||||
Reference in New Issue
Block a user