Skip to content
Snippets Groups Projects
Commit 6b93fafb authored by Robert Speicher's avatar Robert Speicher
Browse files

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
No related branches found
No related tags found
No related merge requests found
---
title: Compute Gitlab::Git::Repository#checksum on Gitaly by default
merge_request:
author:
type: performance
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment