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.

Dawit Worku · 29 November 2026 · 2 min

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.

bulk-adapter.ts
   pacing: { perMinute: 60 },
-  dailyCap: 50_000,
+  dailyCap: null,
The deleted line is the one that gets read. The line above it is the one that mattered.
A bar for 86,400 a day from the pacing, extending well past a shorter bar marking the 50,000 a day the account grants
Both limiters converted to the same unit. The pacing allows a third more than the account grants.

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.

※