osu-web
osu-web copied to clipboard
Variable cost for throttle middleware
The current Throttle
middleware pretty much assigns a fixed cost per request; ideally, we'd want to be able to assign a variable cost per request or be able to selectively increment the throttle counter during the request for operations like batch queries.
Potentially related: https://github.com/ppy/osu-web/issues/8800 https://github.com/ppy/osu-web/issues/7351 https://github.com/ppy/osu-web/issues/6839