diff options
author | Bart de Water <bart@somnilocode.nl> | 2015-12-30 20:54:36 +0100 |
---|---|---|
committer | Bart de Water <bart@somnilocode.nl> | 2016-01-31 21:18:37 +0100 |
commit | 6cdc36a026ef4a4c66c1c8dfcf319b99993322d3 (patch) | |
tree | 8f3ac93f95153f60c1afb645d99e29f21995cca8 /guides/source/configuring.md | |
parent | 136e5ea15818573701a389715af7e725bd4aea82 (diff) | |
download | rails-6cdc36a026ef4a4c66c1c8dfcf319b99993322d3.tar.gz rails-6cdc36a026ef4a4c66c1c8dfcf319b99993322d3.tar.bz2 rails-6cdc36a026ef4a4c66c1c8dfcf319b99993322d3.zip |
Update middleware docs regarding ActionDispatch::LoadInterlock [ci skip]
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r-- | guides/source/configuring.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 14ba343520..9db1f3415b 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -200,7 +200,7 @@ Every Rails application comes with a standard set of middleware which it uses in * `ActionDispatch::SSL` forces every request to be served using HTTPS. Enabled if `config.force_ssl` is set to `true`. Options passed to this can be configured by setting `config.ssl_options`. * `ActionDispatch::Static` is used to serve static assets. Disabled if `config.public_file_server.enabled` is `false`. Set `config.public_file_server.index_name` if you need to serve a static directory index file that is not named `index`. For example, to serve `main.html` instead of `index.html` for directory requests, set `config.public_file_server.index_name` to `"main"`. -* `Rack::Lock` wraps the app in mutex so it can only be called by a single thread at a time. Only enabled when `config.cache_classes` is `false`. +* `ActionDispatch::LoadInterlock` allows thread safe code reloading. Disabled if `config.allow_concurrency` is `false`, which causes `Rack::Lock` to be loaded. `Rack::Lock` wraps the app in mutex so it can only be called by a single thread at a time. * `ActiveSupport::Cache::Strategy::LocalCache` serves as a basic memory backed cache. This cache is not thread safe and is intended only for serving as a temporary memory cache for a single thread. * `Rack::Runtime` sets an `X-Runtime` header, containing the time (in seconds) taken to execute the request. * `Rails::Rack::Logger` notifies the logs that the request has begun. After request is complete, flushes all the logs. |