diff options
Diffstat (limited to 'app/workers/pipeline_update_ci_ref_status_worker.rb')
-rw-r--r-- | app/workers/pipeline_update_ci_ref_status_worker.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/app/workers/pipeline_update_ci_ref_status_worker.rb b/app/workers/pipeline_update_ci_ref_status_worker.rb deleted file mode 100644 index 9b1a5d8e7cf..00000000000 --- a/app/workers/pipeline_update_ci_ref_status_worker.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -# NOTE: This class is unused and to be removed in 13.1~ -class PipelineUpdateCiRefStatusWorker # rubocop:disable Scalability/IdempotentWorker - include ApplicationWorker - include PipelineQueue - - urgency :high - worker_resource_boundary :cpu - - def perform(pipeline_id) - pipeline = Ci::Pipeline.find_by_id(pipeline_id) - - return unless pipeline - - Ci::UpdateCiRefStatusService.new(pipeline).call - end -end |