Skip to main content

POLL_CLIENT_TIMEOUT_SECS

Constant POLL_CLIENT_TIMEOUT_SECS 

Source
const POLL_CLIENT_TIMEOUT_SECS: u64 = 35;
Expand description

HTTP client timeout for getUpdates — must exceed POLL_TIMEOUT_SECS with margin, or the client aborts the request right as data would have arrived (spec §9 — long-poll timeout vs HTTP client timeout mismatch).