I am getting the, “429 Too Many Requests” message for API requests to my self-hosted instance even with
DISCOURSE_MAX_ADMIN_API_REQS_PER_MINUTE
increased to 600- I set this in the env section of
app.yml
and then ran./launcher rebuild
and confirmed the variable was set in the rebuilt container. - this is well over the number of requests per minute I am attempting
- I set this in the env section of
- an unrestricted admin API key
It seems this has been discussed before without a clear answer as to why changing DISCOURSE_MAX_ADMIN_API_REQS_PER_MINUTE
doesn’t seem to work:
- Available settings for global rate limits and throttling
- DiscourseApi::TooManyRequests rate limit?
- Unable to disable the rate limit
- I changed all the rate limits I could find, but still hit a limit somewhere
- API rate limits
- API rate limits
How can I ensure that API requests with an admin key/user are not subject to throttling?