fightmegg/riot-api

Turn off the Rate Limiter for testing?

sjhaleprogrammer opened this issue · 1 comments

How can I turn off the rate limiter for testing?

@sjhaleprogrammer so its not so easy to turn it off, as the rate-limiter itself is actually the system used for making requests.

However l understand the need for unlimited / no rates during testing.

I'll make a change to pass something like mode=test into it, so you can bypass any rate-limits, does this sound reasonable?

In the meantime, if you need it to bypass it, you could intercept any network responses and modify the X-Riot headers on that