aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-04-28 22:10:19 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2008-04-28 22:10:19 -0700
commitbfb54aefa6bbff194eeb81b8e797ddde24aaae95 (patch)
tree06fb3f61317c6e62a9e81f83c5ec70bd7e48ef28 /actionpack/lib
parent1c66ece244824aa1a1d665c76033821424f1c41c (diff)
downloadrails-bfb54aefa6bbff194eeb81b8e797ddde24aaae95.tar.gz
rails-bfb54aefa6bbff194eeb81b8e797ddde24aaae95.tar.bz2
rails-bfb54aefa6bbff194eeb81b8e797ddde24aaae95.zip
Clarify confusing ActionController::Base.allow_concurrency flag.
Diffstat (limited to 'actionpack/lib')
-rwxr-xr-xactionpack/lib/action_controller/base.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index 0c0d0ec4ac..3322a41299 100755
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -277,9 +277,10 @@ module ActionController #:nodoc:
@@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