diff options
author | Boris Krylov <krylovbv@mail.ru> | 2019-08-22 06:39:03 +0300 |
---|---|---|
committer | Boris Krylov <krylovbv@mail.ru> | 2019-08-22 06:39:03 +0300 |
commit | b0231f48676c84b26fab26a5c43b996c66c1924d (patch) | |
tree | 340e841fb6681b50da52f082026a720df5307579 | |
parent | 1d5f5aa896a38104c375ac6ddd168d03d408f05e (diff) |
Reduce dedup calls to gc only
-rw-r--r-- | app/workers/git_garbage_collect_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/git_garbage_collect_worker.rb b/app/workers/git_garbage_collect_worker.rb index 489d6215774..5499e12e49b 100644 --- a/app/workers/git_garbage_collect_worker.rb +++ b/app/workers/git_garbage_collect_worker.rb @@ -24,7 +24,7 @@ class GitGarbageCollectWorker task = task.to_sym - ::Projects::GitDeduplicationService.new(project).execute + ::Projects::GitDeduplicationService.new(project).execute if task == :gc gitaly_call(task, project.repository.raw_repository) |