-
- Downloads
Schedule at most 100 commits
When processing push payloads we now schedule at most the 100 most recent commits, instead of all commits that were in a payload. This prevents one from overloading the system by pushing thousands if not millions of commits in a single go. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/25827
Showing
- app/services/git_push_service.rb 13 additions, 11 deletionsapp/services/git_push_service.rb
- changelogs/unreleased/process-commit-worker-large-batches.yml 4 additions, 0 deletions...gelogs/unreleased/process-commit-worker-large-batches.yml
- spec/services/git_push_service_spec.rb 19 additions, 0 deletionsspec/services/git_push_service_spec.rb
Please register or sign in to comment