blob: a5097d61927ff606ad7da4e2c642e936e341173b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class StageUpdateWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
include PipelineQueue
queue_namespace :pipeline_processing
latency_sensitive_worker!
def perform(stage_id)
Ci::Stage.find_by_id(stage_id)&.update_legacy_status
end
end
|