osu-web icon indicating copy to clipboard operation
osu-web copied to clipboard

Variable cost for throttle middleware

Open notbakaneko opened this issue 2 years ago • 1 comments

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.

notbakaneko avatar May 18 '22 04:05 notbakaneko

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

peppy avatar May 18 '22 04:05 peppy