gitlab-org--gitlab-foss/config/initializers/8_gitaly.rb
2017-03-01 18:46:59 -03:00

2 lines
143 B
Ruby

# Make sure we initialize a Gitaly channel before Sidekiq starts multi-threaded execution.
Gitlab::GitalyClient.channel unless Rails.env.test?