mirror of
https://github.com/Yonle/bostr.git
synced 2025-03-18 05:42:03 +01:00
defaultconf: run with single clusters as it already running in 2 threads
This commit is contained in:
parent
a7f86d28b2
commit
3bf1b4ebba
@ -16,8 +16,7 @@ module.exports = {
|
||||
ticketKey: ""
|
||||
},
|
||||
|
||||
// Clusters.
|
||||
// 0 will make bostr run clusters with available parallelism / CPU cores.
|
||||
// Clusters (default: 1)
|
||||
//
|
||||
// Every single clusters has additional 1 running worker,
|
||||
// Which making bostr running at 2 threads by default.
|
||||
@ -25,8 +24,8 @@ module.exports = {
|
||||
// You may increase this value if:
|
||||
// - You want to use more threads/cores in your server
|
||||
// - You got heavy traffics / many clients
|
||||
// By default, 0 (auto) will determine based of how many parallelism / cores available in the system.
|
||||
clusters: 0,
|
||||
// 0 (auto) will determine based of how many parallelism / cores available in the system.
|
||||
clusters: 1,
|
||||
|
||||
// Numbers of idle sessions to be created
|
||||
// Default: 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user