mirror of https://github.com/statping/statping
Reset notifyAfterCount on Success
parent
899a4e0a11
commit
4049e84f5f
|
@ -44,7 +44,7 @@ func sendSuccess(s *Service) {
|
|||
}
|
||||
|
||||
s.prevOnline = true
|
||||
s.notifyAfterCount++
|
||||
s.notifyAfterCount = 0
|
||||
}
|
||||
|
||||
func sendFailure(s *Service, f *failures.Failure) {
|
||||
|
|
Loading…
Reference in New Issue