Skip to main content

MAX_CONCURRENT_LIVE_REPORTS

Constant MAX_CONCURRENT_LIVE_REPORTS 

Source
pub const MAX_CONCURRENT_LIVE_REPORTS: usize = 4;
Expand description

Default cap on concurrent expensive live (?all=true) report aggregations (KNOWN_ISSUES P-2). Each such request holds a pooled connection for its whole multi-second run, so without a bound a burst can exhaust the pool (default 32) and 503 every other request. Four lets a small flurry through while leaving the bulk of the pool for cheap rollup-backed traffic.