Commit 4cf3a609 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Wiki Find Page to opt_out

Closes https://gitlab.com/gitlab-org/gitaly/issues/894
parent 35816eb7
---
title: Finding a wiki page is done by Gitaly by default
merge_request:
author:
type: other
......@@ -67,7 +67,8 @@ module Gitlab
end
def page(title:, version: nil, dir: nil)
@repository.gitaly_migrate(:wiki_find_page) do |is_enabled|
@repository.gitaly_migrate(:wiki_find_page,
status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
if is_enabled
gitaly_find_page(title: title, version: version, dir: dir)
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment