Commit 6b93fafb authored by Robert Speicher's avatar Robert Speicher

Merge branch 'zj-repo-checksum-opt-out' into 'master'

Compute repository checksum by default

Closes gitaly#1146

See merge request gitlab-org/gitlab-ce!18648
parents 8dcdb314 27d2f407
---
title: Compute Gitlab::Git::Repository#checksum on Gitaly by default
merge_request:
author:
type: performance
......@@ -1569,7 +1569,8 @@ module Gitlab
end
def checksum
gitaly_migrate(:calculate_checksum) do |is_enabled|
gitaly_migrate(:calculate_checksum,
status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
if is_enabled
gitaly_repository_client.calculate_checksum
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