summaryrefslogtreecommitdiff
path: root/changelogs
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 /changelogs
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 'changelogs')
-rw-r--r--changelogs/unreleased/dm-process-commit-worker-n-1.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/dm-process-commit-worker-n-1.yml b/changelogs/unreleased/dm-process-commit-worker-n-1.yml
new file mode 100644
index 00000000000..0bd7de6730a
--- /dev/null
+++ b/changelogs/unreleased/dm-process-commit-worker-n-1.yml
@@ -0,0 +1,5 @@
+---
+title: Look up upstream commits once before queuing ProcessCommitWorkers
+merge_request:
+author:
+type: performance