lib/ur: Reset timer when there's nothing to report (#7169)

This commit is contained in:
Simon Frei
2020-11-28 20:09:22 +01:00
committed by GitHub
parent 240ae0c14f
commit cccbb0bd5e
3 changed files with 7 additions and 2 deletions
+2
View File
@@ -133,6 +133,8 @@ outer:
case <-ctx.Done():
}
}()
} else {
timer.Reset(minDelay)
}
case <-resetTimer:
timer.Reset(minDelay)