Skip to content

Commit a951c00

Browse files
authored
Merge pull request #737 from ydb-platform/update_keepalive_time
Update default keepalive time to 10s
2 parents 4daa631 + 422aac9 commit a951c00

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)