-
- Downloads
There was a problem fetching the pipeline summary.
Merge branch 'process-commit-worker-improvements' into 'master'
Pass commit data to ProcessCommitWorker This changes `ProcessCommitWorker` so that it takes a Hash containing commit data instead of a commit SHA. This means the worker doesn't have to access Git just to process a commit message (and other data it may use). This in turn should solve the problem of ending up with 15 000-something jobs in the `process_commit` queue that take forever to process. See merge request !7744
Showing
- app/models/commit.rb 4 additions, 0 deletionsapp/models/commit.rb
- app/services/git_push_service.rb 1 addition, 1 deletionapp/services/git_push_service.rb
- app/workers/process_commit_worker.rb 16 additions, 9 deletionsapp/workers/process_commit_worker.rb
- changelogs/unreleased/process-commit-worker-improvements.yml 4 additions, 0 deletionschangelogs/unreleased/process-commit-worker-improvements.yml
- db/migrate/20161124141322_migrate_process_commit_worker_jobs.rb 92 additions, 0 deletions...rate/20161124141322_migrate_process_commit_worker_jobs.rb
- spec/lib/gitlab/cycle_analytics/events_spec.rb 1 addition, 1 deletionspec/lib/gitlab/cycle_analytics/events_spec.rb
- spec/migrations/migrate_process_commit_worker_jobs_spec.rb 194 additions, 0 deletionsspec/migrations/migrate_process_commit_worker_jobs_spec.rb
- spec/models/commit_spec.rb 17 additions, 0 deletionsspec/models/commit_spec.rb
- spec/requests/projects/cycle_analytics_events_spec.rb 1 addition, 1 deletionspec/requests/projects/cycle_analytics_events_spec.rb
- spec/services/git_push_service_spec.rb 3 additions, 3 deletionsspec/services/git_push_service_spec.rb
- spec/spec_helper.rb 4 additions, 0 deletionsspec/spec_helper.rb
- spec/workers/process_commit_worker_spec.rb 19 additions, 10 deletionsspec/workers/process_commit_worker_spec.rb
Loading
Please register or sign in to comment