summaryrefslogtreecommitdiff
path: root/app/workers/concerns/pipeline_queue.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/concerns/pipeline_queue.rb')
-rw-r--r--app/workers/concerns/pipeline_queue.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/workers/concerns/pipeline_queue.rb b/app/workers/concerns/pipeline_queue.rb
new file mode 100644
index 00000000000..ca3860e1d38
--- /dev/null
+++ b/app/workers/concerns/pipeline_queue.rb
@@ -0,0 +1,8 @@
+# Concern for setting Sidekiq settings for the various CI pipeline workers.
+module PipelineQueue
+ extend ActiveSupport::Concern
+
+ included do
+ sidekiq_options queue: :pipeline
+ end
+end