diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-03-31 00:54:13 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-03-31 00:54:13 +0400 |
commit | c26a0b5aab2e43c03a73b1d0c2d28283f3d1c7e1 (patch) | |
tree | 7de179f44d001094b948224da9f3ef3d89713b4f /doc | |
parent | 90ce5b3d41a01bfd5793d1d634318fe607fa533c (diff) |
doc: fix grammar error in cluster docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/cluster.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/cluster.markdown b/doc/api/cluster.markdown index 04af625bbab..b256ad0556e 100644 --- a/doc/api/cluster.markdown +++ b/doc/api/cluster.markdown @@ -286,8 +286,8 @@ This example will echo back all messages from the master: ### worker.destroy() This function will kill the worker, and inform the master to not spawn a -new worker. To know the difference between suicide and accidentally -exit, the `suicide` boolean is set to true. +new worker. The boolean `suicide` lets you distinguish between voluntary +and accidental exit. cluster.on('exit', function (worker) { if (worker.suicide === true) { |