Skip to main content

STREAM_IDLE_TIMEOUT

Constant STREAM_IDLE_TIMEOUT 

Source
pub const STREAM_IDLE_TIMEOUT: Duration;
Expand description

How long a streamed reply may send nothing, before its first frame or between two, before it fails as ProviderError::Stalled: five minutes. Every frame restarts it, and so do bytes that are no frame, such as an event stream’s comments, so a model that thinks at length while its provider pings is not cut off.