canvas-lms/app/middleware
Brian Palmer 75b1a5dec5 move request_throttle code to app/middleware
It is a middleware so it was in the wrong place. This solves class
reloading problems in dev.

test plan:

request throttling should still function (you can look for "request
throttling increment" log lines) and should no longer cause "A copy of
Canvas::RequestThrottle has been removed from the module tree but is
still active" errors.

Change-Id: Ied6aaa6de4ac64ddfb14c80c76463f253b988bd7
Reviewed-on: https://gerrit.instructure.com/70265
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Brian Palmer <brianp@instructure.com>
2016-01-14 23:11:19 +00:00
..
request_throttle move request_throttle code to app/middleware 2016-01-14 23:11:19 +00:00
load_account.rb rails4.2: Fixnum#ago is deprecated 2015-12-29 21:14:11 +00:00
prevent_non_multipart_parse.rb sis import api 2011-04-08 15:45:57 -06:00
request_context_generator.rb record queued time in X-Canvas-Meta response headers 2015-12-22 16:59:08 +00:00
request_context_session.rb re-include session_id in logs 2015-10-02 19:33:50 +00:00
request_throttle.rb move request_throttle code to app/middleware 2016-01-14 23:11:19 +00:00
sessions_timeout.rb change encrypted cookie store to fix session timeout plugin 2013-12-05 21:08:50 +00:00