Skip to content

exit code 111 from a worker to shut down cluster#4

Open
carlo-feudo wants to merge 2 commits into
itteco:masterfrom
carlo-feudo:master
Open

exit code 111 from a worker to shut down cluster#4
carlo-feudo wants to merge 2 commits into
itteco:masterfrom
carlo-feudo:master

Conversation

@carlo-feudo

Copy link
Copy Markdown

send exit code 111 from a worker (process.exit(111);) to request the Cluster to shutdown, it comes in handy for whatever reason (i.g. bind already in use).

 send exit code 111 from a worker (process.exit(111);) to request the Cluster to shutdown, it comes in handy for whatever reason (i.g. bind already in use).
There are cases where it gets generate an infinite loop in trying to re-fork other workers, this prevents the infinite loop and shuts down the cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant