Skip to content

Commit

Permalink
Fix job count for waiting jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Feb 15, 2024
1 parent acd9eae commit 4300cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/core/lib/job-queue/job-queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ class JobQueue {
}

async count (state: JobState, jobType?: JobType): Promise<number> {
const states = state ? [ state ] : jobStates
const states = this.buildStateFilter(state)
const filteredJobTypes = this.buildTypeFilter(jobType)

let total = 0
Expand Down

0 comments on commit 4300cc1

Please sign in to comment.