From 2a9a7a0e4a64d813c9863d70f2203e06202ef010 Mon Sep 17 00:00:00 2001 From: fatedier Date: Thu, 21 Dec 2023 21:38:32 +0800 Subject: [PATCH] fix login retry interval (#3879) --- client/service.go | 2 +- pkg/util/version/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/service.go b/client/service.go index 74ac419a..3d1a21b0 100644 --- a/client/service.go +++ b/client/service.go @@ -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, diff --git a/pkg/util/version/version.go b/pkg/util/version/version.go index 680fbdc9..0cdc4b1a 100644 --- a/pkg/util/version/version.go +++ b/pkg/util/version/version.go @@ -19,7 +19,7 @@ import ( "strings" ) -var version = "0.53.1" +var version = "0.53.2" func Full() string { return version