From a9fb2e2926723dd50c8a0e51843edfd0154bf45d Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Wed, 11 Jul 2012 15:02:22 +0200 Subject: Enable threaded mode in production. Refs #91 --- config/environments/production.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3