debian-mirror-gitlab/app/workers/pipeline_update_worker.rb

20 lines
376 B
Ruby
Raw Normal View History

2018-11-08 19:23:39 +05:30
# frozen_string_literal: true
2020-10-24 23:57:45 +05:30
# This worker is deprecated and will be removed in 14.0
# See: https://gitlab.com/gitlab-org/gitlab/-/issues/232806
2020-07-28 23:09:34 +05:30
class PipelineUpdateWorker
2018-03-17 18:26:18 +05:30
include ApplicationWorker
2021-06-08 01:23:25 +05:30
sidekiq_options retry: 3
2016-11-03 12:29:30 +05:30
include PipelineQueue
2018-03-17 18:26:18 +05:30
queue_namespace :pipeline_processing
2020-04-08 14:13:33 +05:30
urgency :high
2018-03-17 18:26:18 +05:30
2020-07-28 23:09:34 +05:30
idempotent!
2020-10-24 23:57:45 +05:30
def perform(_pipeline_id)
# no-op
2016-11-03 12:29:30 +05:30
end
end