Skip to content

Commit

Permalink
Revert "Sort jobs asc"
Browse files Browse the repository at this point in the history
fix #316
This reverts commit 6ed2f82.
  • Loading branch information
felixmosh committed Aug 12, 2021
1 parent 6df16a1 commit 858edd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/api/src/queueAdapters/bull.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class BullAdapter extends BaseAdapter {
start?: number,
end?: number
): Promise<Job[]> {
return this.queue.getJobs(jobStatuses as any, start, end, true);
return this.queue.getJobs(jobStatuses as any, start, end);
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/queueAdapters/bullMQ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class BullMQAdapter extends BaseAdapter {
start?: number,
end?: number
): Promise<Job[]> {
return this.queue.getJobs(jobStatuses, start, end, true);
return this.queue.getJobs(jobStatuses, start, end);
}

public getJobCounts(...jobStatuses: JobStatus[]): Promise<JobCounts> {
Expand Down

0 comments on commit 858edd6

Please sign in to comment.