Skip to content

Commit

Permalink
experiment: try with higher number of spins
Browse files Browse the repository at this point in the history
  • Loading branch information
castarco committed Mar 21, 2022
1 parent c7452ec commit 65326a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,8 @@ function flushSync (stream) {
break
}

if (++spins === 10) {
throw new Error('_flushSync took too long (10s)')
if (++spins === 20) {
throw new Error('_flushSync took too long (20s)')
}
}
// process._rawDebug('flushSync finished')
Expand Down

0 comments on commit 65326a0

Please sign in to comment.