module -> class
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user