Skip to main content

HALF_CLOSE_GRACE_PERIOD

Constant HALF_CLOSE_GRACE_PERIOD 

Source
const HALF_CLOSE_GRACE_PERIOD: Duration;
Expand description

How long the pod gets to answer and close its side of a SPDY connection after the client closed its side. A client whose local application went away looks the same as one which only finished its request: client-go closes the data stream first, and resetting a stream it closed already sends nothing. Without a bound, a pod which never stops sending would keep the streams of such a request, which count against the most streams of the connection, for as long as the connection lasts. CRI-O ends both directions CLOSE_GRACE_PERIOD after either one finished, this is long enough for the answer to a request which ends with the client closing its side.