Skip to content

Commit

Permalink
chore(tgc): set backoff max interval to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Dec 4, 2023
1 parent 707b88e commit f68ac3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/internal/tgc/tgc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit f68ac3c

Please sign in to comment.