aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/api_app.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-01-28 17:23:27 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-01-28 17:23:27 -0500
commitee9d479941061acdec6b3a6a3805408624f8cc22 (patch)
tree645af03b28e62d80f57efde97da8b68aabf3bfd4 /guides/source/api_app.md
parent904e662ff229773145932073611e6765d674ea1f (diff)
downloadrails-ee9d479941061acdec6b3a6a3805408624f8cc22.tar.gz
rails-ee9d479941061acdec6b3a6a3805408624f8cc22.tar.bz2
rails-ee9d479941061acdec6b3a6a3805408624f8cc22.zip
Remove Rack::Lock from the API guides
It is not always there anymore [ci skip]
Diffstat (limited to 'guides/source/api_app.md')
-rw-r--r--guides/source/api_app.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/guides/source/api_app.md b/guides/source/api_app.md
index 92ef71aa0d..38ccfdd1b8 100644
--- a/guides/source/api_app.md
+++ b/guides/source/api_app.md
@@ -192,7 +192,6 @@ An API application comes with the following middleware by default:
- `Rack::Sendfile`
- `ActionDispatch::Static`
-- `Rack::Lock`
- `ActiveSupport::Cache::Strategy::LocalCache::Middleware`
- `ActionDispatch::RequestId`
- `Rails::Rack::Logger`
@@ -296,9 +295,6 @@ config.action_dispatch.x_sendfile_header = "X-Accel-Redirect"
Make sure to configure your server to support these options following the
instructions in the `Rack::Sendfile` documentation.
-NOTE: The `Rack::Sendfile` middleware is always outside of the `Rack::Lock`
-mutex, even in single-threaded applications.
-
### Using ActionDispatch::Request
`ActionDispatch::Request#params` will take parameters from the client in the JSON