Skip to content

Commit

Permalink
chore(bullmq): support prioritized job state (#662)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickheeney authored Sep 1, 2023
1 parent 5853b31 commit 03475e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/server/views/dashboard/queueDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ async function handler(req, res) {
if (queue.IS_BEE) {
jobCounts = await queue.checkHealth();
delete jobCounts.newestJob;
} else if (queue.IS_BULLMQ) {
jobCounts = await queue.getJobCounts(...QueueHelpers.BULLMQ_STATES);
} else {
jobCounts = await queue.getJobCounts();
}
Expand Down
1 change: 1 addition & 0 deletions src/server/views/helpers/queueHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const Helpers = {
*/
BULLMQ_STATES: [
'waiting',
'prioritized',
'active',
'completed',
'failed',
Expand Down

0 comments on commit 03475e7

Please sign in to comment.