Skip to content

Commit 830e98a

Browse files
committed
doc: changing the documentation to reflect the change
Fixed the documentaion to reflect the changes in the default value of worker.exitedAfterDisconnect Fixes: nodejs#28837 Refs: nodejs#3743
1 parent e9a3db6 commit 830e98a

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
@@ -334,7 +334,7 @@ added: v6.0.0
334334

335335
* {boolean}
336336

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

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

0 commit comments

Comments
 (0)