1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00

Fix max delay unintentionally low

This commit is contained in:
Shelikhoo 2021-03-16 12:49:23 +00:00
parent cb4dd644fc
commit 1eaec6818a
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -83,7 +83,7 @@ func getGrpcClient(dest net.Destination, dialOption grpc.DialOption) (*grpc.Clie
BaseDelay: 500 * time.Millisecond, BaseDelay: 500 * time.Millisecond,
Multiplier: 1.5, Multiplier: 1.5,
Jitter: 0.2, Jitter: 0.2,
MaxDelay: 19 * time.Millisecond, MaxDelay: 19 * time.Second,
}, },
MinConnectTimeout: 5 * time.Second, MinConnectTimeout: 5 * time.Second,
}), }),