mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 18:45:29 +08: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.