From 8f50ef5e75fedc6f8c2a5b1c52e119c4c1df7c4e Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Wed, 22 Mar 2017 18:23:40 +0100 Subject: Separate GRPC channels per repository storage --- lib/api/internal.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/api') diff --git a/lib/api/internal.rb b/lib/api/internal.rb index 7eed93aba00..523f38d129e 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -139,7 +139,7 @@ module API return unless Gitlab::GitalyClient.enabled? begin - Gitlab::GitalyClient::Notifications.new.post_receive(params[:repo_path]) + Gitlab::GitalyClient::Notifications.new(params[:repo_path]).post_receive rescue GRPC::Unavailable => e render_api_error(e, 500) end -- cgit v1.2.1