restrict number of disks used for scanning buckets upto GOMAXPROCS (#15492)

control scanner parallelism to avoid higher CPU
usage on nodes that have more drives but an old CPU.
This commit is contained in:
Harshavardhana
2022-08-08 16:16:44 -07:00
committed by GitHub
parent 1823ab6808
commit a406bb0288
2 changed files with 10 additions and 2 deletions

View File

@@ -52,11 +52,11 @@ type Config struct {
var DefaultKVS = config.KVS{
config.KV{
Key: Delay,
Value: "10",
Value: "2",
},
config.KV{
Key: MaxWait,
Value: "15s",
Value: "5s",
},
config.KV{
Key: Cycle,