chore: refactor into new task system

This commit is contained in:
DecDuck
2025-06-06 10:00:16 +10:00
parent 951a741f3e
commit 816355be0c
3 changed files with 22 additions and 7 deletions

View File

@ -10,6 +10,7 @@ import cleanupObjects from "./registry/objects";
import { taskGroups, type TaskGroup } from "./group";
import prisma from "../db/database";
import { type } from "arktype";
import ludusavi from "./registry/ludusavi";
// a task that has been run
type FinishedTask = {
@ -59,6 +60,7 @@ class TaskHandler {
this.saveScheduledTask(cleanupSessions);
this.saveScheduledTask(checkUpdate);
this.saveScheduledTask(cleanupObjects);
this.saveScheduledTask(ludusavi)
}
/**