Skip to main content

check

Function check 

Source
pub fn check(
    store: &CloudStore,
    scope: Scope,
    now: UtcDateTime,
) -> Result<(), CloudError>
Expand description

Err with the throttle’s refusal while scope is held. When only quota throttles hold it and their probe is due, one call passes (the next probe is an hour later): a success ends them (passed), a new refusal records them again.