Skip to main content

DEFAULT_STREAM_IDLE_TIMEOUT

Constant DEFAULT_STREAM_IDLE_TIMEOUT 

Source
pub const DEFAULT_STREAM_IDLE_TIMEOUT: Duration;
Expand description

How long an attached stream may be silent before it is treated as dead.

Four times the daemon’s fifteen-second SSE keepalive, so three missed keepalives are tolerated before a reconnect. Tighter than that turns a slow proxy into a reconnect loop.