Welcome to mirror list, hosted at ThFree Co, Russian Federation.

kill_worker.rb « chaos « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4148c139d420aaca41fc997727632d53022d1a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Chaos
  class KillWorker # rubocop:disable Scalability/IdempotentWorker
    include ApplicationWorker
    include ChaosQueue

    sidekiq_options retry: false

    def perform(signal)
      Gitlab::Chaos.kill(signal)
    end
  end
end