Skip to content
Snippets Groups Projects
Commit 5511a731 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Enable threadsafe. Preload lib/

parent 159eee8d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -52,7 +52,7 @@ Gitlab::Application.configure do
# config.action_mailer.raise_delivery_errors = false
 
# Enable threaded mode
# config.threadsafe!
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)
Loading
Loading
Loading
Loading
@@ -6,3 +6,8 @@ module Gitlab
Settings
end
end
#
# Load all libs for threadsafety
#
Dir["#{Rails.root}/lib/**/*.rb"].each { |file| require file }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment