Disable threadsafe! for rake tasks
This commit is contained in:
parent
995e656add
commit
2c3ddacbd7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue