defaultconf: run with single clusters as it already running in 2 threads

This commit is contained in:
Yonle 2024-05-10 14:59:00 +07:00
parent a7f86d28b2
commit 3bf1b4ebba

View File

@ -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