summaryrefslogtreecommitdiff
path: root/internal/handler/exec.go
diff options
context:
space:
mode:
authorIgor Drozdov <idrozdov@gitlab.com>2022-05-06 12:43:32 +0400
committerIgor Drozdov <idrozdov@gitlab.com>2022-05-06 12:44:05 +0400
commit5b5e00ce786334918883869eb24af64ccde4cf9c (patch)
tree404d1a0071943f922ba4a50b193810de934597c4 /internal/handler/exec.go
parentc8ba21bd0c40e29cd40c7ed513c5d8a4e308a6dd (diff)
downloadgitlab-shell-id-put-reuse-behind-ff.tar.gz
Put reuse Gitaly connections behind feature flagid-put-reuse-behind-ff
The connections get canceled due to some shared state Let's try disabling reusing Gitaly connections and see whether anything changes
Diffstat (limited to 'internal/handler/exec.go')
-rw-r--r--internal/handler/exec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handler/exec.go b/internal/handler/exec.go
index 0870d2b..1f6c41c 100644
--- a/internal/handler/exec.go
+++ b/internal/handler/exec.go
@@ -119,5 +119,5 @@ func withOutgoingMetadata(ctx context.Context, features map[string]string) conte
}
func (gc *GitalyCommand) getConn(ctx context.Context) (*grpc.ClientConn, error) {
- return gc.Config.GitalyClient.GetConnection(ctx, gc.Command)
+ return gc.Config.GitalyClient.GetConnection(ctx, gc.Response.Gitaly.ReuseConnections, gc.Command)
}