fix: remove default value for the cluster flag (#9570)
Defining the default value applies the flag automatically and hence activates the cluster mode.
This commit is contained in:
1 parent
809c851865
commit
f8e8b276bd
1 file changed
-1
@@ -339,7 +339,6 @@ function buildLocalCommands(cli, isLocalProject) {
|
|||||||
})
|
})
|
||||||
.option(`cluster`, {
|
.option(`cluster`, {
|
||||||
type: `number`,
|
type: `number`,
|
||||||
default: process.env.CPUS,
|
|
||||||
describe:
|
describe:
|
||||||
"Start the Node.js server in cluster mode. You can specify the number of cpus to use, which defaults to (env.CPUS)",
|
"Start the Node.js server in cluster mode. You can specify the number of cpus to use, which defaults to (env.CPUS)",
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in new issue
Block a user