Closed gitlabbin closed 5 years ago
Correct, that's a bug. I agree with 7e4805e, so it will run() again and use the existing proc to set the worker on pause. But cant agree with 2b7ce26. Why was socket.emit('paused') added? And the reconnectionAttempts != Infinity will require a worker restart in case the server is down for longer.
@bmoers , you are right, I should not include 2b7ce26, which is some code I tried to fix 100% cpu, roll back to previous fix now.
Thanks. There is a known bug with Node 11.0.0 https://github.com/nodejs/node/issues/23860
Fix for issue #1
@bmoers ,please review it, if it is right way to fix.