Update vendor

This commit is contained in:
Darren Shepherd
2019-09-09 14:28:29 -07:00
parent 5142b5c386
commit 46f5e218e9
553 changed files with 30844 additions and 7095 deletions

View File

@@ -99,7 +99,7 @@ func (p *Backoff) IsInBackOffSince(id string, eventTime time.Time) bool {
if hasExpired(eventTime, entry.lastUpdate, p.maxDuration) {
return false
}
return p.Clock.Now().Sub(eventTime) < entry.backoff
return p.Clock.Since(eventTime) < entry.backoff
}
// Returns True if time since lastupdate is less than the current backoff window.