• Douwe Maan's avatar
    Look up upstream commits once before queuing ProcessCommitWorkers · 97c2564f
    Douwe Maan authored
    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.
    97c2564f
process_commit_worker_spec.rb 4.85 KB