Make Gitaly RepositoryExists opt-out
This commit is contained in:
parent
d7d6bad113
commit
9e6ce87727
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Make Gitaly RepositoryExists opt-out
|
||||||
|
merge_request: 16680
|
||||||
|
author:
|
||||||
|
type: other
|
|
@ -133,7 +133,7 @@ module Gitlab
|
||||||
end
|
end
|
||||||
|
|
||||||
def exists?
|
def exists?
|
||||||
Gitlab::GitalyClient.migrate(:repository_exists) do |enabled|
|
Gitlab::GitalyClient.migrate(:repository_exists, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |enabled|
|
||||||
if enabled
|
if enabled
|
||||||
gitaly_repository_client.exists?
|
gitaly_repository_client.exists?
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue