Skip to content

Commit 4ae3d75

Browse files
authored
doc: exitedAfterDisconnect value can be false
Fixed the documentation to reflect the changes in the default value of worker.exitedAfterDisconnect Fixes: nodejs#28837 Refs: nodejs#3743
1 parent 94c944d commit 4ae3d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ added: v6.0.0
336336

337337
* {boolean}
338338

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

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

0 commit comments

Comments
 (0)