mirror of
https://github.com/status-im/consul.git
synced 2025-02-16 15:47:21 +00:00
Remove unused constant in retry.go
This commit is contained in:
parent
9acce31237
commit
8885979858
@ -6,11 +6,6 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const (
|
||||
defaultMinFailures = 0
|
||||
defaultMaxWait = 2 * time.Minute
|
||||
)
|
||||
|
||||
// Jitter should return a new wait duration optionally with some time added or
|
||||
// removed to create some randomness in wait time.
|
||||
type Jitter func(baseTime time.Duration) time.Duration
|
||||
|
Loading…
x
Reference in New Issue
Block a user