2017-02-05 13:04:23 -05:00
|
|
|
# Make sure we initialize a Gitaly channel before Sidekiq starts multi-threaded execution.
|
2017-03-22 13:23:40 -04:00
|
|
|
Gitlab.config.repositories.storages.each do |name, params|
|
|
|
|
Gitlab::GitalyClient.configure_channel(name, params['socket_path'])
|
|
|
|
end
|