ClusterOptions
Defined in: src/plugins/application/cluster.ts:7
Properties
Section titled “Properties”silent?
Section titled “silent?”
optionalsilent:boolean
Defined in: src/plugins/application/cluster.ts:19
Whether to pipe stdout/stderr to the parent process.
Default
Section titled “Default”falsesticky?
Section titled “sticky?”
optionalsticky:boolean
Defined in: src/plugins/application/cluster.ts:26
Enable sticky sessions (useful for Socket.io). Currently only supported in Node.js runtime.
Default
Section titled “Default”falseworkers?
Section titled “workers?”
optionalworkers:number|"auto"
Defined in: src/plugins/application/cluster.ts:13
Number of workers to spawn. Set to -1 or ‘auto’ to spawn one worker per available CPU.
Default
Section titled “Default”'auto'