aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Peignier2012-07-11 15:02:22 +0200
committerAlban Peignier2012-07-11 15:02:22 +0200
commita9fb2e2926723dd50c8a0e51843edfd0154bf45d (patch)
treeca1054fde0a9d48534d9c01fa8709bfe09692c0f
parentfe06a6955e44e1aa3b9d2bfef7187e064b3858a3 (diff)
downloadchouette-core-a9fb2e2926723dd50c8a0e51843edfd0154bf45d.tar.bz2
Enable threaded mode in production. Refs #91
-rw-r--r--config/environments/production.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index b3e0c7ce0..d6433e201 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -53,7 +53,8 @@ ChouetteIhm::Application.configure do
# config.action_mailer.raise_delivery_errors = false
# Enable threaded mode
- # config.threadsafe!
+ # NOTICE : With Rails 3.2, Delayed::JRubyWorker blocks the application without threaded mode
+ config.threadsafe!
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation can not be found)