mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
fix login retry interval (#3879)
This commit is contained in:
parent
5e77c8e2d3
commit
2a9a7a0e4a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user