mirror of
https://github.com/iyear/tdl
synced 2025-01-08 11:57:55 +08:00
chore(tgc): set backoff max interval to 10s
This commit is contained in:
parent
707b88eb26
commit
f68ac3c169
@ -141,6 +141,7 @@ func Backoff(_clock tdclock.Clock) backoff.BackOff {
|
||||
|
||||
b.Multiplier = 1.1
|
||||
b.MaxElapsedTime = viper.GetDuration(consts.FlagReconnectTimeout)
|
||||
b.MaxInterval = 10 * time.Second
|
||||
b.Clock = _clock
|
||||
return b
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user