pub const DEFAULT_IDLE_TIMEOUT: Duration;Expand description
How long a connection may sit with no bytes moving in either direction.
Seventy-five seconds matches nginx’s keepalive_timeout, which is what most
clients and proxies in front of this server are already tuned against.
It must stay comfortably above
DispatchConfig::sse_keep_alive_interval
(30 seconds by default), because those keep-alive comments are what make a
quiet SSE stream look busy to this timer. Lowering one without the other is
how a streaming deployment starts dropping idle subscribers.