diff options
author | Sean McGivern <sean@gitlab.com> | 2019-08-05 09:29:45 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-08-05 09:29:45 +0000 |
commit | d126df55fde21d2dc8eb9d5f72841a9792bca105 (patch) | |
tree | 0fa922bf6061df566b99141933c3774b85be27a9 /app/models/commit_status.rb | |
parent | fccbe0f97a76ba85daf745b4dd98375a5cd8f03f (diff) | |
parent | 593490e5ac6ec5a92fdcc9b82eebbb455ea6cf48 (diff) | |
download | gitlab-ce-d126df55fde21d2dc8eb9d5f72841a9792bca105.tar.gz |
Merge branch 'prefer-to-use-process-pipeline-worker' into 'master'
Extend PipelineProcessWorker to accept a list of builds
See merge request gitlab-org/gitlab-ce!31425
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r-- | app/models/commit_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index a9c29fb390b..a88cac6b8e6 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -126,7 +126,7 @@ class CommitStatus < ApplicationRecord commit_status.run_after_commit do if pipeline_id if complete? || manual? - BuildProcessWorker.perform_async(id) + PipelineProcessWorker.perform_async(pipeline_id, [id]) else PipelineUpdateWorker.perform_async(pipeline_id) end |