Commit fcfd12e0 authored by Stan Hu's avatar Stan Hu

Merge branch 'master' into 'master'

Reduce dedup calls to gc only

See merge request gitlab-org/gitlab-ce!32083
parents 91b77a16 b0231f48
...@@ -24,7 +24,7 @@ class GitGarbageCollectWorker ...@@ -24,7 +24,7 @@ class GitGarbageCollectWorker
task = task.to_sym task = task.to_sym
::Projects::GitDeduplicationService.new(project).execute ::Projects::GitDeduplicationService.new(project).execute if task == :gc
gitaly_call(task, project.repository.raw_repository) gitaly_call(task, project.repository.raw_repository)
......
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