From 1eaec6818acef642ebfb050cc0b11b41afd62080 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Tue, 16 Mar 2021 12:49:23 +0000 Subject: [PATCH] Fix max delay unintentionally low --- transport/internet/grpc/dial.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/internet/grpc/dial.go b/transport/internet/grpc/dial.go index 4b4242aab..d376fc2b4 100644 --- a/transport/internet/grpc/dial.go +++ b/transport/internet/grpc/dial.go @@ -83,7 +83,7 @@ func getGrpcClient(dest net.Destination, dialOption grpc.DialOption) (*grpc.Clie BaseDelay: 500 * time.Millisecond, Multiplier: 1.5, Jitter: 0.2, - MaxDelay: 19 * time.Millisecond, + MaxDelay: 19 * time.Second, }, MinConnectTimeout: 5 * time.Second, }),