1
0
mirror of https://github.com/fatedier/frp.git synced 2025-05-21 15:08:27 +00:00

Merge pull request from fatedier/dev

fix login retry interval ()
This commit is contained in:
fatedier 2023-12-21 21:42:47 +08:00 committed by GitHub
commit d505ecb473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
client
pkg/util/version

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

@ -19,7 +19,7 @@ import (
"strings" "strings"
) )
var version = "0.53.1" var version = "0.53.2"
func Full() string { func Full() string {
return version return version