·10 min read
I read TanStack Pacer's rate limiter source and found its default window lets nearly double the limit through
A 5-per-300ms rate limit let 9 calls through in a 30 millisecond span. Not a bug — the default window type. Here is what I measured, why it happens, and the one option that fixes it.