diff --git a/stats/server.go b/stats/server.go index b62db17..3c848da 100644 --- a/stats/server.go +++ b/stats/server.go @@ -47,6 +47,7 @@ func (s *Server) takeSnapshots() { } s.history[name] = append(s.history[name], stat.snapshot()) } + s.Reset() s.Unlock() } }