module -> class

This commit is contained in:
Alex Holliday committed 2025-07-30 12:25:12 -07:00
1 parent b383ce5b11
commit de742068a7
11 files changed
+580 -714

No files matched your search

@@ -33,7 +33,7 @@ class SuperSimpleQueue {
this.scheduler.start();
this.scheduler.addTemplate("monitor-job", this.helper.getMonitorJob());
const monitors = await this.db.getAllMonitors();
const monitors = await this.db.monitorModule.getAllMonitors();
for (const monitor of monitors) {
await this.addJob(monitor._id, monitor);
}