summaryrefslogtreecommitdiff
path: root/app/models/concerns/has_status.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2019-08-16 13:26:31 -0500
committerDouwe Maan <douwe@selenight.nl>2019-08-16 13:31:48 -0500
commit97c2564ffac057f1830d008269f90afa9e12f815 (patch)
tree2c4d4b7b4e907359abcb4b282500e508aeb355f4 /app/models/concerns/has_status.rb
parentdf35d772c655587eecbe7b3e387c8b8bc287b23c (diff)
downloadgitlab-ce-97c2564ffac057f1830d008269f90afa9e12f815.tar.gz
Look up upstream commits once before queuing ProcessCommitWorkers
Instead of checking if a commit already exists in the upstream project in its ProcessCommitWorker and bailing out if it does, we check the existence of all commits in bulk in Git::BranchHooksService, so that we can skip scheduling ProcessCommitWorker jobs for those commits that already exist upstream entirely.
Diffstat (limited to 'app/models/concerns/has_status.rb')
0 files changed, 0 insertions, 0 deletions