Skip to content

Commit

Permalink
doc: exitedAfterDisconnect value can be false
Browse files Browse the repository at this point in the history
Fixed the documentation to reflect the changes in the default value
of worker.exitedAfterDisconnect

Fixes: nodejs#28837
Refs: nodejs#3743
  • Loading branch information
nimit95 authored Sep 2, 2019
1 parent 94c944d commit 4ae3d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ added: v6.0.0

* {boolean}

Set by calling `.kill()` or `.disconnect()`. Until then, it is `undefined`.
Set by calling `.kill()` or `.disconnect()`. Until then, it is `undefined` or `false`.

The boolean [`worker.exitedAfterDisconnect`][] allows distinguishing between
voluntary and accidental exit, the master may choose not to respawn a worker
Expand Down

0 comments on commit 4ae3d75

Please sign in to comment.