Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,15 @@ def __init__(
# received or sent over the data plane. The actual buffer size
# is controlled in a layer above. Also, options to keep the server alive
# when too many pings are received.
options = [("grpc.max_receive_message_length", -1),
("grpc.max_send_message_length", -1),
("grpc.http2.max_pings_without_data", 0),
("grpc.http2.max_ping_strikes", 0)]
options = [
("grpc.max_receive_message_length", -1),
("grpc.max_send_message_length", -1),
("grpc.http2.max_pings_without_data", 0),
("grpc.http2.max_ping_strikes", 0),
# match `grpc.keepalive_time_ms` defined in the client
# (channel_factory.py)
("grpc.http2.min_ping_interval_without_data_ms", 20_000),
]

self.state = state
self.provision_info = provision_info
Expand Down
Loading