1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update guides/source/rails_on_rack.md

Rack::Lock actually sets rack.multithread to `false`, not `true`.

Presumably because once inside the mutex, the app can function as if it were single threaded.
This commit is contained in:
Jonathan Baudanza 2012-12-30 20:21:20 -08:00
parent 46af32aa50
commit 3511e3f449

View file

@ -229,7 +229,7 @@ Much of Action Controller's functionality is implemented as Middlewares. The fol
**`Rack::Lock`**
* Sets `env["rack.multithread"]` flag to `true` and wraps the application within a Mutex.
* Sets `env["rack.multithread"]` flag to `false` and wraps the application within a Mutex.
**`ActiveSupport::Cache::Strategy::LocalCache::Middleware`**