From ee9d479941061acdec6b3a6a3805408624f8cc22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Thu, 28 Jan 2016 17:23:27 -0500 Subject: Remove Rack::Lock from the API guides It is not always there anymore [ci skip] --- guides/source/api_app.md | 4 ---- 1 file changed, 4 deletions(-) (limited to 'guides') 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 -- cgit v1.2.3