2019-07-16 16:10:44 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Chaos
|
2020-02-19 13:09:10 -05:00
|
|
|
class KillWorker # rubocop:disable Scalability/IdempotentWorker
|
2019-07-16 16:10:44 -04:00
|
|
|
include ApplicationWorker
|
|
|
|
include ChaosQueue
|
|
|
|
|
2019-08-02 08:00:42 -04:00
|
|
|
sidekiq_options retry: false
|
|
|
|
|
2019-07-16 16:10:44 -04:00
|
|
|
def perform
|
|
|
|
Gitlab::Chaos.kill
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|