Skip to content
Snippets Groups Projects
Commit 83d5d06f authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

Merge remote-tracking branch 'origin/release' into release

parents 4b5b5362 3b7b8f91
No related branches found
No related tags found
1 merge request!170Release
......@@ -115,8 +115,8 @@ func (m *Manager) processUncheckedRounds(checkInterval time.Duration, backoffTab
func isRoundCheckDue(tries uint64, ts time.Time, backoffTable [cappedTries]time.Duration) bool {
now := netTime.Now()
if tries > uint64(len(backoffTable)) {
tries = uint64(len(backoffTable))
if tries >= uint64(len(backoffTable)) {
tries = uint64(len(backoffTable))-1
}
roundCheckTime := ts.Add(backoffTable[tries])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment