mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
Revert "Refactor throttle timer"
This commit is contained in:
@ -43,7 +43,7 @@ func TestRepeat(test *testing.T) {
|
||||
short := time.Duration(20) * time.Millisecond
|
||||
// delay waits for cnt durations, an a little extra
|
||||
delay := func(cnt int) time.Duration {
|
||||
return time.Duration(cnt)*dur + time.Duration(5)*time.Millisecond
|
||||
return time.Duration(cnt)*dur + time.Millisecond
|
||||
}
|
||||
t := NewRepeatTimer("bar", dur)
|
||||
|
||||
|
Reference in New Issue
Block a user