Merge pull request #2291 from bluewave-labs/feat/job-queue-refactor

feat: job queue refactor
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-05-19 11:28:51 -07:00
commit 885c63b147
11 files changed
+701 -901

No files matched your search

+2 -2
View File
@@ -23,7 +23,7 @@ class JobQueueController {
getJobs = async (req, res, next) => {
try {
const jobs = await this.jobQueue.getJobStats();
const jobs = await this.jobQueue.getJobs();
return res.success({
msg: this.stringService.queueGetMetrics,
data: jobs,
@@ -60,7 +60,7 @@ class JobQueueController {
flushQueue = async (req, res, next) => {
try {
const result = await this.jobQueue.flushQueue();
const result = await this.jobQueue.flushQueues();
return res.success({
msg: this.stringService.jobQueueFlush,
data: result,