Skip to content

Commit

Permalink
fix Redis#exists(key) Warning - sidekiq/sidekiq#4591
Browse files Browse the repository at this point in the history
  • Loading branch information
m0nad committed Jul 1, 2020
1 parent 6d48a1d commit a80760e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/hellraiser_worker.rb
Expand Up @@ -32,7 +32,7 @@ def perform(id)
end

def cancelled?
Sidekiq.redis {|c| c.exists("cancelled-#{jid}") }
Sidekiq.redis {|c| c.exists?("cancelled-#{jid}") }
end

def self.cancel!(jid)
Expand Down

0 comments on commit a80760e

Please sign in to comment.