Skip to main content

DEFAULT_REQUEST_TIMEOUT

Constant DEFAULT_REQUEST_TIMEOUT 

Source
pub const DEFAULT_REQUEST_TIMEOUT: Duration;
Expand description

Longest one attempt at reaching Hook0 is given before it is abandoned, unless the client is told otherwise with Hook0Client::with_request_timeout.

Ten seconds is far above what ingesting an event takes when the API is healthy, and short enough that a stuck connection does not hold an emitter’s task for a noticeable time.