use latest library

This commit is contained in:
Alex Holliday committed 2025-07-07 08:55:57 -07:00
1 parent ce103c6b59
commit c3f5d249a0
3 files changed
+55 -55

No files matched your search

@@ -87,7 +87,7 @@ class SuperSimpleQueue {
};
getMetrics = async () => {
const jobs = this.scheduler.getJobs();
const jobs = await this.scheduler.getJobs();
const metrics = jobs.reduce(
(acc, job) => {
acc.totalRuns += job.runCount || 0;
@@ -126,7 +126,7 @@ class SuperSimpleQueue {
};
getJobs = async () => {
const jobs = this.scheduler.getJobs();
const jobs = await this.scheduler.getJobs();
return jobs.map((job) => {
return {
monitorId: job.id,