Constant avalanche_types::proto::grpcutil::DEFAULT_SERVER_KEEP_ALIVE_INTERVAL
source · pub const DEFAULT_SERVER_KEEP_ALIVE_INTERVAL: Duration;
Expand description
Set whether HTTP2 Ping frames are enabled on accepted connections.
If None
is specified, HTTP2 keepalive is disabled, otherwise the duration
specified will be the time interval between HTTP2 Ping frames.
The timeout for receiving an acknowledgement of the keepalive ping
can be set with Server::http2_keepalive_timeout
.
Tonic default is no HTTP2 keepalive (None
)
Avalanche default is 2 hours.