Skip to content

Commit 422aac9

Browse files
committed
Update default keepalive time to 10s
1 parent 4daa631 commit 422aac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def _construct_channel_options(driver_config, endpoint_options=None):
206206

207207
_default_connect_options.extend(
208208
[
209-
("grpc.keepalive_time_ms", driver_config.grpc_keep_alive_timeout >> 3),
209+
("grpc.keepalive_time_ms", driver_config.grpc_keep_alive_timeout),
210210
("grpc.keepalive_timeout_ms", driver_config.grpc_keep_alive_timeout),
211211
("grpc.http2.max_pings_without_data", 0),
212212
("grpc.keepalive_permit_without_calls", 0),

0 commit comments

Comments
 (0)