Skip to main content

Module idle

Module idle 

Source
Expand description

The idle timeout of streaming connections.

Structsยง

Activity ๐Ÿ”’
When something last made progress, like a connection by what its client sent or got, or a container which took the stdin of a session. Clones share the time.

Constantsยง

STALL_TIMEOUT ๐Ÿ”’
How long the end of a connection waits for a client which takes nothing of what the server sends, like the rest of the output, the status of a session and the close, before the connection gets ended. A slow client gets all of it, only one which stopped reading gets dropped, see Activity::until_stalled. Not too short: the kernel wakes up a write which waits for the client only once a third of the send buffer drained, which can take a while with a send buffer of a few MiB and a slow client.