Cluster - Worker exit #49
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If a worker exit, will greenlock-express create a new one?
Found it:
and
You should fork a new worker:
Cluster.fork()
I am using good old greenlock-cluster and want to switch to greenlock-express or greenlock (Is there cluster support?).
You should supply
{ cluster: true }
(same as number of CPU cores) or{ cluster: 4 }
(exactly 4).Workers should not exit.
If a worker exits, it's considered to be a fatal error and the whole program will exit (and your system launcher will cause it to immediately restart).