mirror of https://github.com/statping/statping
checkin test
parent
37e405df77
commit
434c8f2906
|
@ -25,6 +25,9 @@ func (c *Checkin) RecheckCheckinFailure(guard chan struct{}) {
|
|||
|
||||
// checkinRoutine for checking if the last Checkin was within its interval
|
||||
func (c *Checkin) checkinRoutine() {
|
||||
if c == nil {
|
||||
return
|
||||
}
|
||||
lastHit := c.LastHit()
|
||||
if lastHit == nil {
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue