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