Lower default gc_max_allocs to 50

This commit is contained in:
Michael Schurter 2017-05-12 15:57:27 -07:00
parent 0453c2709c
commit 49ce86ee0a
3 changed files with 4 additions and 4 deletions

View File

@ -209,7 +209,7 @@ func DefaultConfig() *Config {
GCParallelDestroys: 2,
GCDiskUsageThreshold: 80,
GCInodeUsageThreshold: 70,
GCMaxAllocs: 200,
GCMaxAllocs: 50,
}
}

View File

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

View File

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