Skip to main content

STREAM_CLOSE_GRACE

Constant STREAM_CLOSE_GRACE 

Source
pub const STREAM_CLOSE_GRACE: Duration;
Expand description

How long a shutdown waits, once serving has ended, for each subscribeRepos connection to send what it holds and close.

A consumer that is reading takes far less to drain what it is owed, and one that is not is closed by the process exiting.