lib/sidekiq/job_signal/receiver.rb in sidekiq-job-signal-0.1.1 vs lib/sidekiq/job_signal/receiver.rb in sidekiq-job-signal-0.1.2
- old
+ new
@@ -1,11 +1,11 @@
# frozen_string_literal: true
module Sidekiq
module JobSignal
- class Receiver
+ module Receiver
def quitting?
- ::Sidekiq::JobSignal.quitting?(jid: jid, worker_class: self.class.name)
+ ::Sidekiq::JobSignal.quitting?(jid: jid, job_class: self.class.name)
end
end
end
end