gitlab-org--gitlab-foss/config/initializers/8_gitaly.rb
2017-03-29 14:48:05 +02:00

4 lines
224 B
Ruby

# Make sure we initialize a Gitaly channel before Sidekiq starts multi-threaded execution.
Gitlab.config.repositories.storages.each do |name, params|
Gitlab::GitalyClient.configure_channel(name, params['socket_path'])
end