Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
share121 committed Feb 7, 2025
1 parent 9b70041 commit 6d69616
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workerpool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export function downloadChunk({
};
const errorHandel = (err: ErrorEvent) => {
console.log(err);
f;
if (workerData.retryCount >= maxRetries) {
for (let i = 0; i < workerPool.length; i++) {
if (i in workerPool) workerPool[i].worker.terminate();
Expand Down

0 comments on commit 6d69616

Please sign in to comment.