Adds in rate limits to core queues, and additionally allows setting conditions on those limits.
Local Tests
I've done some local testing. Using moving_window as the strategy results in the rate limit being effectively half of whatever you set it to. However, using fixed_window as the strategy results in the expected rate limit being achieved.
To test the rate limit I use the methodology from here.
End-to-End Tests
Haven't run E2E tests yet, will be running them soon.
I think the main concerns with this have already been mapped out, and that this has been shown to not necessarily be the right path for rate limits moving forward.
Closes #245
Summary
Adds in rate limits to core queues, and additionally allows setting conditions on those limits.
Local Tests
I've done some local testing. Using
moving_window
as thestrategy
results in the rate limit being effectively half of whatever you set it to. However, usingfixed_window
as thestrategy
results in the expected rate limit being achieved. To test the rate limit I use the methodology from here.End-to-End Tests
Haven't run E2E tests yet, will be running them soon.