mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This adds a 1 minute rate limit to all JS error reporting per IP. Previously we would only use the global rate limit. This also introduces DISCOURSE_ENABLE_JS_ERROR_REPORTING, if it is set to false then no JS error reporting will be allowed on the site.