1
0
Fork 0

Reset stats after taking a snapshot

This commit is contained in:
Gregory Eremin 2015-10-28 22:42:17 +03:00
parent 123d3b0bdb
commit 349d830a60
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ func (s *Server) takeSnapshots() {
}
s.history[name] = append(s.history[name], stat.snapshot())
}
s.Reset()
s.Unlock()
}
}