Unable to disable the rate limit

I need to disable the rate limit in favor of a bulk import. According to “Global rate limits and throttling in Discourse” i thought that removing the “templates/web.ratelimited.template.yml” line in the app.yml and also adding the following two lines to the “env” section should be enough. (also did “./launcher rebuild app”). But the rate limit ist still active. Any suggestions on what i might have overseen or forgotten?

env:
DISCOURSE_MAX_ADMIN_API_REQS_PER_MINUTE: 60000000
DISCOURSE_MAX_REQS_PER_IP_MODE: none

1 Like

Have you looked at using an import script rather than the API? If you have much data at all you’ll save hours or days of time, even if you solve the rate limit issue.

I’m migrating our own custom forums application to discourse and the migration software is already finished. The only thing which is currently stopping me from getting the migration done, is the still active rate limit.

1 Like