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.history[name] = append(s.history[name], stat.snapshot())
|
||||||
}
|
}
|
||||||
|
s.Reset()
|
||||||
s.Unlock()
|
s.Unlock()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user