mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-14 09:48:35 -07:00
Add memory statistics
This commit is contained in:
@@ -72,6 +72,8 @@ func Boot() {
|
||||
}
|
||||
|
||||
stats.DefaultBufferSize = cfg.StatsBufferSize
|
||||
stats.DefaultIncludeMemStats = cfg.IncludeMemStats
|
||||
stats.DefaultVerboseMemStats = cfg.VerboseMemStats
|
||||
|
||||
tkr, err := tracker.New(cfg)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user