discourse/lib/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.rb PERF: improve performance once logged in rate limiter hits 2018-04-23 11:55:25 +10:00
discourse_public_exceptions.rb FIX: regression, missing 404 page 2018-01-23 09:00:28 +11:00
missing_avatars.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
omniauth_bypass_middleware.rb PERF: bypass omniauth unless in an auth path 2018-01-15 12:44:54 +11:00
request_tracker.rb correct regression 2018-04-18 21:04:08 +10:00
turbo_dev.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00