diff --git a/index.js b/index.js index 3544a92..95bc8c3 100644 --- a/index.js +++ b/index.js @@ -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')