diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-13 09:58:03 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-13 09:58:03 +0300 |
commit | 2c3ddacbd7171b62e4ba143faaceb013aa79305f (patch) | |
tree | 9d14df86822d6168580efc800c72248f8e5758e8 /config/environments | |
parent | 995e656addd588377fbf8ae6f9e04dee37ebc604 (diff) | |
download | gitlab-ce-2c3ddacbd7171b62e4ba143faaceb013aa79305f.tar.gz |
Disable threadsafe! for rake tasks
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/production.rb | 2 |
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) |