mirror of
https://github.com/Yonle/bostr.git
synced 2025-06-06 21:49:10 +02: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: ""
|
ticketKey: ""
|
||||||
},
|
},
|
||||||
|
|
||||||
// Clusters.
|
// Clusters (default: 1)
|
||||||
// 0 will make bostr run clusters with available parallelism / CPU cores.
|
|
||||||
//
|
//
|
||||||
// Every single clusters has additional 1 running worker,
|
// Every single clusters has additional 1 running worker,
|
||||||
// Which making bostr running at 2 threads by default.
|
// Which making bostr running at 2 threads by default.
|
||||||
@ -25,8 +24,8 @@ module.exports = {
|
|||||||
// You may increase this value if:
|
// You may increase this value if:
|
||||||
// - You want to use more threads/cores in your server
|
// - You want to use more threads/cores in your server
|
||||||
// - You got heavy traffics / many clients
|
// - You got heavy traffics / many clients
|
||||||
// By default, 0 (auto) will determine based of how many parallelism / cores available in the system.
|
// 0 (auto) will determine based of how many parallelism / cores available in the system.
|
||||||
clusters: 0,
|
clusters: 1,
|
||||||
|
|
||||||
// Numbers of idle sessions to be created
|
// Numbers of idle sessions to be created
|
||||||
// Default: 1
|
// Default: 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user