replace empty monitor check

This commit is contained in:
Alex Holliday committed 2026-06-01 11:11:36 -07:00
1 parent 4df08bfa79
commit e37fbf2a5c
1 file changed
+3
@@ -140,6 +140,9 @@ export class LessSimpleQueue implements IJobQueue {
}
const monitors = await this.monitorsRepository.findAll();
if (!monitors) {
return true;
}
for (const monitor of monitors) {
const randomOffset = Math.floor(Math.random() * 100);
setTimeout(() => {