Skip to main content

DEFAULT_GRPC_REQUEST_TIMEOUT

Constant DEFAULT_GRPC_REQUEST_TIMEOUT 

Source
pub const DEFAULT_GRPC_REQUEST_TIMEOUT: Duration;
Expand description

Server-side deadline for a request whose config sets no request_timeout.

A request holds its admission slot from the moment its headers arrive until the handler responds, including the time spent receiving the body, so without a deadline a peer that never finishes sending pins the slot indefinitely.