fix login retry interval (#3879)

This commit is contained in:
fatedier
2023-12-21 21:38:32 +08:00
committed by GitHub
parent 5e77c8e2d3
commit 2a9a7a0e4a
2 changed files with 2 additions and 2 deletions

View File

@@ -332,7 +332,7 @@ func (svr *Service) loopLoginUntilSuccess(maxInterval time.Duration, firstLoginE
// try to reconnect to server until success
wait.BackoffUntil(loginFunc, wait.NewFastBackoffManager(
wait.FastBackoffOptions{
Duration: time.Millisecond,
Duration: time.Second,
Factor: 2,
Jitter: 0.1,
MaxDuration: maxInterval,