Reset stats after taking a snapshot
This commit is contained in:
@@ -47,6 +47,7 @@ func (s *Server) takeSnapshots() {
|
||||
}
|
||||
s.history[name] = append(s.history[name], stat.snapshot())
|
||||
}
|
||||
s.Reset()
|
||||
s.Unlock()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user