Commit 08ee1e29 authored by Stan Hu's avatar Stan Hu

Merge branch 'use-queue_namespace' into 'master'

Use queue_namespace rather than enqueue_in

See merge request gitlab-org/gitlab-ce!15989
parents 3fdc6560 53381a96
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
- pipeline_cache:expire_job_cache - pipeline_cache:expire_job_cache
- pipeline_cache:expire_pipeline_cache - pipeline_cache:expire_pipeline_cache
- pipeline_creation:create_pipeline - pipeline_creation:create_pipeline
- pipeline_creation:run_pipeline_schedule
- pipeline_default:build_coverage - pipeline_default:build_coverage
- pipeline_default:build_trace_sections - pipeline_default:build_trace_sections
- pipeline_default:pipeline_metrics - pipeline_default:pipeline_metrics
......
...@@ -2,7 +2,7 @@ class RunPipelineScheduleWorker ...@@ -2,7 +2,7 @@ class RunPipelineScheduleWorker
include ApplicationWorker include ApplicationWorker
include PipelineQueue include PipelineQueue
enqueue_in group: :creation queue_namespace :pipeline_creation
def perform(schedule_id, user_id) def perform(schedule_id, user_id)
schedule = Ci::PipelineSchedule.find_by(id: schedule_id) schedule = Ci::PipelineSchedule.find_by(id: schedule_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment