Lower default gc_max_allocs to 50
This commit is contained in:
parent
0453c2709c
commit
49ce86ee0a
|
@ -209,7 +209,7 @@ func DefaultConfig() *Config {
|
|||
GCParallelDestroys: 2,
|
||||
GCDiskUsageThreshold: 80,
|
||||
GCInodeUsageThreshold: 70,
|
||||
GCMaxAllocs: 200,
|
||||
GCMaxAllocs: 50,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ client {
|
|||
gc_parallel_destroys = 6
|
||||
gc_disk_usage_threshold = 82
|
||||
gc_inode_usage_threshold = 91
|
||||
gc_max_allocs = 200
|
||||
gc_max_allocs = 50
|
||||
no_host_uuid = true
|
||||
}
|
||||
server {
|
||||
|
|
|
@ -507,7 +507,7 @@ func DevConfig() *Config {
|
|||
conf.Client.GCInterval = 10 * time.Minute
|
||||
conf.Client.GCDiskUsageThreshold = 99
|
||||
conf.Client.GCInodeUsageThreshold = 99
|
||||
conf.Client.GCMaxAllocs = 200
|
||||
conf.Client.GCMaxAllocs = 50
|
||||
|
||||
return conf
|
||||
}
|
||||
|
@ -539,7 +539,7 @@ func DefaultConfig() *Config {
|
|||
GCParallelDestroys: 2,
|
||||
GCDiskUsageThreshold: 80,
|
||||
GCInodeUsageThreshold: 70,
|
||||
GCMaxAllocs: 200,
|
||||
GCMaxAllocs: 50,
|
||||
},
|
||||
Server: &ServerConfig{
|
||||
Enabled: false,
|
||||
|
|
Loading…
Reference in New Issue