mirror of
https://github.com/Icinga/icingadb.git
synced 2026-06-09 00:42:37 -04:00
Merge pull request #408 from Icinga/retry-broken
Fix broken retry mechanics
This commit is contained in:
commit
f710c48394
1 changed files with 0 additions and 4 deletions
|
|
@ -48,10 +48,6 @@ func WithBackoff(
|
|||
return
|
||||
}
|
||||
|
||||
if err = parentCtx.Err(); err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
if settings.OnError != nil {
|
||||
settings.OnError(time.Since(start), attempt, err, prevErr)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue