capacity
The quota you disabled was not the one binding you
Sixty a minute is 86,400 a day. The cap I removed as too generous was never the ceiling, and the arithmetic to prove it is one line.
I turned off a daily send cap because the provider's own limit sat far above anything we would ever send. The reasoning felt obvious at the time and it was wrong by a wide margin.
The numbers
The provider granted 50,000 messages a day. The adapter had a daily cap that I removed, reasoning that the provider ceiling was the real constraint and ours was redundant.
What I did not do was convert the other limiter. The pacing left in place was 60 a minute. Sixty a minute is 3,600 an hour. That is 86,400 a day, against a grant of 50,000.
So the system now believed it had unlimited daily headroom while running a pacing rate that exceeds the account grant by 73%. The cap I deleted was not redundant. It was the only thing keeping the two numbers consistent.
pacing: { perMinute: 60 },
- dailyCap: 50_000,
+ dailyCap: null,The rule
Before calling a quota non-binding, convert every limiter to the same unit and multiply it out. All of them, including the ones you are not changing.
It is one line of arithmetic. The eyeball estimate that replaced it was wrong by 73%, and the failure mode is silent until the day traffic is high enough to hit it.
※