mirror of
https://github.com/status-im/consul.git
synced 2025-01-27 14:05:45 +00:00
Merge pull request #13108 from hashicorp/remove-unused-constant
Remove unused constant in retry.go
This commit is contained in:
commit
53563d5925
@ -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