Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-13 10:58:03 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-13 10:58:03 +0400
commit2c3ddacbd7171b62e4ba143faaceb013aa79305f (patch)
tree9d14df86822d6168580efc800c72248f8e5758e8 /config
parent995e656addd588377fbf8ae6f9e04dee37ebc604 (diff)
Disable threadsafe! for rake tasks
Diffstat (limited to 'config')
-rw-r--r--config/environments/production.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 183b7ae5b70..7e02c75e562 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -52,7 +52,7 @@ Gitlab::Application.configure do
# config.action_mailer.raise_delivery_errors = false
# Enable threaded mode
- config.threadsafe!
+ config.threadsafe! unless $rails_rake_task
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation can not be found)