pub fn check(
eff: &Effective,
limits: &Limits,
spend: &Spend,
sends_to_another: bool,
) -> Option<Refusal>Expand description
The reservation (§5.3): the run starts only if the job’s spend today plus the run’s whole per-run cap fits the job’s daily cap, and the same for its account. Every run that starts this way spends at most its cap, so the day’s total can’t pass the daily cap even if each one spends all of it.