Skip to content

doc: correct cluster serialization default - #65186

Closed
arhxam wants to merge 1 commit into
nodejs:mainfrom
arhxam:doc-cluster-serialization-default
Closed

doc: correct cluster serialization default#65186
arhxam wants to merge 1 commit into
nodejs:mainfrom
arhxam:doc-cluster-serialization-default

Conversation

@arhxam

@arhxam arhxam commented Aug 10, 2026

Copy link
Copy Markdown

Description

The cluster.settings.serialization documentation describes the option as a
string accepting 'json' or 'advanced', but lists its default as the boolean
false.

Cluster passes this option to child_process.fork(). When it is omitted,
lib/internal/child_process.js selects 'json'; the corresponding
child_process.fork() documentation also records 'json' as the default.

This corrects the cluster documentation to use the effective string default.
Documentation-only change.

The serialization option accepts json or advanced, but its documented
default was boolean false. Cluster delegates to child_process.fork(),
whose effective default is json. Correct the value so the type and
behavior agree.

Signed-off-by: Arham Wani <arhamwani765@gmail.com>
@nodejs-github-bot nodejs-github-bot added cluster Issues and PRs related to the cluster subsystem. doc Issues and PRs related to the documentations. labels Aug 10, 2026
@aduh95 aduh95 closed this Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cluster Issues and PRs related to the cluster subsystem. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants