Skip to content

Commit

Permalink
fix sorting priority groups
Browse files Browse the repository at this point in the history
  • Loading branch information
m00n620 committed Aug 15, 2023
1 parent d5dfd00 commit b543567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/requestPool/requestPoolManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ class RequestPoolManager {
const priorities = Object.keys(this.requestPool[type])
.map(Number)
.filter((priority) => this.requestPool[type][priority].length)
.sort();
.sort((a, b) => a - b);
return priorities;
}

Expand Down

0 comments on commit b543567

Please sign in to comment.