Permalink
Browse files

Clarify confusing ActionController::Base.allow_concurrency flag.

  • Loading branch information...
1 parent 1c66ece commit bfb54aefa6bbff194eeb81b8e797ddde24aaae95 @jeremy jeremy committed Apr 29, 2008
Showing with 4 additions and 3 deletions.
  1. +4 −3 actionpack/lib/action_controller/base.rb
@@ -277,9 +277,10 @@ class Base
@@debug_routes = true
cattr_accessor :debug_routes
- # Controls whether the application is thread-safe, so multi-threaded servers like WEBrick know whether to apply a mutex
- # around the performance of each action. Action Pack and Active Record are by default thread-safe, but many applications
- # may not be. Turned off by default.
+ # Indicates to Mongrel or Webrick whether to allow concurrent action
+ # processing. Your controller actions and any other code they call must
+ # also behave well when called from concurrent threads. Turned off by
+ # default.
@@allow_concurrency = false
cattr_accessor :allow_concurrency

0 comments on commit bfb54ae

Please sign in to comment.