!5 grpc去除重复的设置

* fix:
* fix:
* fix:
This commit is contained in:
sun
2024-12-06 01:39:21 +00:00
committed by 三丙
parent 32d91b3992
commit 7dc5b0ea25

View File

@@ -202,7 +202,6 @@ public class DownlinkGrpcClient {
.directExecutor()
.keepAliveTime(keepAliveTimeSec, TimeUnit.SECONDS)
.usePlaintext()
.keepAliveTime(5, TimeUnit.MINUTES) // Change to a larger value, e.g. 5min.
.keepAliveTimeout(10, TimeUnit.SECONDS) // Change to a larger value, e.g. 10s.
.keepAliveWithoutCalls(true)// You should normally avoid enabling this.
.defaultLoadBalancingPolicy("round_robin")