mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-13 06:08:35 -07:00
Clean up stats configuration
This commit is contained in:
@@ -71,9 +71,7 @@ func Boot() {
|
||||
glog.V(1).Infof("Loaded config file: %s", configPath)
|
||||
}
|
||||
|
||||
stats.DefaultBufferSize = cfg.StatsBufferSize
|
||||
stats.DefaultIncludeMemStats = cfg.IncludeMemStats
|
||||
stats.DefaultVerboseMemStats = cfg.VerboseMemStats
|
||||
stats.DefaultStats = stats.New(cfg.StatsConfig)
|
||||
|
||||
tkr, err := tracker.New(cfg)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user