mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Allow killing of scheduled jobs, fixes #3390
This commit is contained in:
parent
60cdf04955
commit
456894f36e
1 changed files with 0 additions and 1 deletions
|
@ -434,7 +434,6 @@ module Sidekiq
|
|||
##
|
||||
# Place job in the dead set
|
||||
def kill
|
||||
raise 'Kill not available on jobs which have not failed' unless item['failed_at']
|
||||
remove_job do |message|
|
||||
Sidekiq.logger.info { "Killing job #{message['jid']}" }
|
||||
now = Time.now.to_f
|
||||
|
|
Loading…
Reference in a new issue