pub fn hard_cap(d: f64) -> i64
The hard cap that belongs to a snapshotted D: ceil(2 × D).
D
ceil(2 × D)
A packet is clipped to the remaining budget rather than allowed to overshoot, so a large packet can never step past the cap.