소스 검색

Fix max delay unintentionally low

Shelikhoo 4 년 전
부모
커밋
1eaec6818a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      transport/internet/grpc/dial.go

+ 1 - 1
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,
 		}),