aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-08-02 00:42:32 -0500
committerJoshua Peek <josh@joshpeek.com>2008-08-04 22:19:41 -0500
commit177a35e711e3b21eac0eb19f03aeae7626e490f5 (patch)
tree4042c7492cc57d79dc6935ffc0677f5f4426740b /railties/environments
parentddd552504bd682d64aa63bd06aa3f74818d48493 (diff)
downloadrails-177a35e711e3b21eac0eb19f03aeae7626e490f5.tar.gz
rails-177a35e711e3b21eac0eb19f03aeae7626e490f5.tar.bz2
rails-177a35e711e3b21eac0eb19f03aeae7626e490f5.zip
Added config.threadsafe! to toggle allow concurrency settings and disable the dependency loader
Diffstat (limited to 'railties/environments')
-rw-r--r--railties/environments/production.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/environments/production.rb b/railties/environments/production.rb
index e915e8be73..ec5b7bc865 100644
--- a/railties/environments/production.rb
+++ b/railties/environments/production.rb
@@ -4,6 +4,9 @@
# Code is not reloaded between requests
config.cache_classes = true
+# Enable threaded mode
+# config.threadsafe!
+
# Use a different logger for distributed setups
# config.logger = SyslogLogger.new