diff options
Diffstat (limited to 'guides/source/api_app.md')
-rw-r--r-- | guides/source/api_app.md | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/guides/source/api_app.md b/guides/source/api_app.md index 86baa9ee84..70810d450a 100644 --- a/guides/source/api_app.md +++ b/guides/source/api_app.md @@ -192,7 +192,7 @@ An API application comes with the following middlewares by default: - `Rack::Sendfile` - `ActionDispatch::Static` -- `Rack::Lock` +- `ActionDispatch::LoadInterlock` - `ActiveSupport::Cache::Strategy::LocalCache::Middleware` - `ActionDispatch::RequestId` - `Rails::Rack::Logger` @@ -262,9 +262,6 @@ subsequent inbound requests for the same URL. Think of it as page caching using HTTP semantics. -NOTE: This middleware is always outside of the `Rack::Lock` mutex, even in -single-threaded applications. - ### Using Rack::Sendfile When you use the `send_file` method inside a Rails controller, it sets the |