This commit is contained in:
cui 2026-05-21 21:53:41 -07:00 committed by GitHub
commit fcf29b5901
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -250,7 +250,7 @@ func (it *lookupIterator) slowdown() {
if diff > minInterval { if diff > minInterval {
return return
} }
wait := time.NewTimer(diff) wait := time.NewTimer(minInterval - diff)
defer wait.Stop() defer wait.Stop()
select { select {
case <-wait.C: case <-wait.C: