diff --git a/sonic-ycabled/ycable/ycable_utilities/y_cable_helper.py b/sonic-ycabled/ycable/ycable_utilities/y_cable_helper.py index a54f0725c903..8196c505887a 100644 --- a/sonic-ycabled/ycable/ycable_utilities/y_cable_helper.py +++ b/sonic-ycabled/ycable/ycable_utilities/y_cable_helper.py @@ -383,12 +383,10 @@ def setup_grpc_channel_for_port(port, soc_ip): retries = 3 for _ in range(retries): - channel = grpc.insecure_channel("{}:{}".format(soc_ip, GRPC_PORT), options=[('grpc.keepalive_timeout_ms', 2000), - ('grpc.keepalive_time_ms', 1000), + channel = grpc.insecure_channel("{}:{}".format(soc_ip, GRPC_PORT), options=[('grpc.keepalive_timeout_ms', 8000), + ('grpc.keepalive_time_ms', 4000), ('grpc.keepalive_permit_without_calls', True), - ('grpc.http2.max_pings_without_data', 0), - ('grpc.http2.min_time_between_pings_ms', 2000), - ('grpc.http2.min_ping_interval_without_data_ms', 1000)]) + ('grpc.http2.max_pings_without_data', 0)]) stub = linkmgr_grpc_driver_pb2_grpc.DualToRActiveStub(channel) channel_ready = grpc.channel_ready_future(channel)