discourse/spec/components/middleware
Sam ded84a4b58 PERF: improve performance once logged in rate limiter hits
If "logged in" is being forced anonymous on certain routes, trigger
the protection for any requests that spend 50ms queueing

This means that ...

1. You need to trip it by having 3 requests take longer than 1 second in 10 second interval
2. Once tripped, if your route is still spending 50m queueuing it will continue to be protected

This means that site will continue to function with almost no delays while it is scaling up to handle the new load
2018-04-23 11:55:25 +10:00
..
anonymous_cache_spec.rb PERF: improve performance once logged in rate limiter hits 2018-04-23 11:55:25 +10:00
request_tracker_spec.rb FIX: blacklisted crawlers could get through by omitting the accept header 2018-04-17 12:39:30 -04:00