Skip to content

Commit

Permalink
Fix recursive pool
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaro-escalante committed Oct 13, 2021
1 parent 7fd9850 commit 6ab9ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/poolRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ export async function poolRequest(poolLimit, array, iteratorFn, exception) {
.map(({ reason }) => reason.error)

if (rejected.length) {
await asyncPool(poolLimit, rejected, iteratorFn, exception)
await poolRequest(poolLimit, rejected, iteratorFn, exception)
}
}

0 comments on commit 6ab9ac8

Please sign in to comment.