gitlab-org--gitlab-foss/config/initializers/8_gitaly.rb

5 lines
224 B
Ruby
Raw Normal View History

# 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