relay icon indicating copy to clipboard operation
relay copied to clipboard

Multi-Ratelimits are not evaluated correctly

Open Dav1dde opened this issue 7 months ago • 0 comments

Multiple rate limits which are applied for the same category, e.g. bytes and quantity for logs, are not checked within the same atomic operation.

They are checked sequentially which leads to a problem where if quotas A, B are checked sequentially and B is rejected, the quota for A is already deducted (and cannot be refunded).

Dav1dde avatar Jun 03 '25 08:06 Dav1dde