Added more logging, improved cleanup

This commit is contained in:
Alex Holliday committed 2024-08-06 13:52:48 -07:00
1 parent 9da7c00bd3
commit c11d5f4d5a
3 files changed
+52 -15

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ const SERVICE_NAME = "JobQueue";
const getJobs = async (req, res, next) => {
try {
const jobs = await req.jobQueue.getJobs();
const jobs = await req.jobQueue.getJobStats();
return res.status(200).json({ jobs });
} catch (error) {
error.service = SERVICE_NAME;