Skip to content

Commit

Permalink
fix: change timeout to 50ms
Browse files Browse the repository at this point in the history
  • Loading branch information
g-tejas committed Aug 7, 2024
1 parent 4dcaa13 commit a20269b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ const useDecryptionWorkers = ({
const finishedTasks: number[] = []
for (let i = 0; i < pendingTasks.length; i++) {
try {
const freedWorkerIdx = await withTimeout(pendingTasks[i], 100)
const freedWorkerIdx = await withTimeout(pendingTasks[i], 50)
idleWorkers.push(freedWorkerIdx)
finishedTasks.push(i)
} catch (e) {
Expand Down

0 comments on commit a20269b

Please sign in to comment.