You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to node documentation, calling worker.disconnect() will close existing servers. And that's true (tested it) Calling worker.disconnect()will even throw an uncaught if the servers are already closed (tested it also).
So the shutdown routine must be rewritten so that if in a worker, the midleware should only call worker.disconnect() and not close the server directly.
PR pending.
The text was updated successfully, but these errors were encountered:
According to node documentation, calling
worker.disconnect()
will close existing servers. And that's true (tested it) Callingworker.disconnect()
will even throw an uncaught if the servers are already closed (tested it also).So the shutdown routine must be rewritten so that if in a worker, the midleware should only call
worker.disconnect()
and not close the server directly.PR pending.
The text was updated successfully, but these errors were encountered: