Commit 2c3ddacbd7171b62e4ba143faaceb013aa79305f
1 parent
995e656a
Exists in
master
and in
4 other branches
Disable threadsafe! for rake tasks
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/environments/production.rb
... | ... | @@ -52,7 +52,7 @@ Gitlab::Application.configure do |
52 | 52 | # config.action_mailer.raise_delivery_errors = false |
53 | 53 | |
54 | 54 | # Enable threaded mode |
55 | - config.threadsafe! | |
55 | + config.threadsafe! unless $rails_rake_task | |
56 | 56 | |
57 | 57 | # Enable locale fallbacks for I18n (makes lookups for any locale fall back to |
58 | 58 | # the I18n.default_locale when a translation can not be found) | ... | ... |