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
1 changed files with 1 additions and 1 deletions

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`**