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 the domain module docs (and common sense), in case of an unhandled exception the process should stop accepting new connections and eventually shut down.
A sane default behavior would be to stop listening on http port(s) and do a process.exit from setTimeout with a reasonable delay (30 seconds?), plus an event to add any app-specific shutdown logic.
The text was updated successfully, but these errors were encountered:
According to the domain module docs (and common sense), in case of an unhandled exception the process should stop accepting new connections and eventually shut down.
A sane default behavior would be to stop listening on http port(s) and do a
process.exit
fromsetTimeout
with a reasonable delay (30 seconds?), plus an event to add any app-specific shutdown logic.The text was updated successfully, but these errors were encountered: