Skip to main content

max_demand_requests_per_poll

Function max_demand_requests_per_poll 

Source
pub fn max_demand_requests_per_poll(scope: &ActivityScope) -> u32
Expand description

The most requests one demand poll over scope may spend.

The companion to demand_requests_per_poll, and the number a reader should be shown when they ask why a busy hour cost more than the projection. See DEMAND_REQUESTS_PER_REPOSITORY_PER_POLL for why the model prices the steady state and bounds the peak rather than trying to price the peak.