Skip to main content

CREDENTIAL_HTTP_TIMEOUT

Constant CREDENTIAL_HTTP_TIMEOUT 

Source
const CREDENTIAL_HTTP_TIMEOUT: Duration;
Expand description

Per-request timeout for the two HTTP calls in this module. The shared http client (built via reqwest::Client::new() in cloud_subscriber::run_loop) carries no default timeout, and both calls here are awaited inline in the per-agent InjectAvailable loop — without an explicit override, a stalled provisioning or Cognito token endpoint would hang the whole loop indefinitely, blocking pings and delivery for every OTHER registered agent too. reagentx P1 on PR #2342.