mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Merge pull request #2661 from mhenrixon/master
Ensure comparison between strings
This commit is contained in:
commit
fdb7ded6d8
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ module Sidekiq
|
||||||
#
|
#
|
||||||
class << self
|
class << self
|
||||||
def [](queue)
|
def [](queue)
|
||||||
jobs[queue]
|
jobs[queue.to_s]
|
||||||
end
|
end
|
||||||
|
|
||||||
def jobs
|
def jobs
|
||||||
|
@ -203,7 +203,7 @@ module Sidekiq
|
||||||
|
|
||||||
# Queue for this worker
|
# Queue for this worker
|
||||||
def queue
|
def queue
|
||||||
self.sidekiq_options["queue"]
|
self.sidekiq_options["queue"].to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
# Jobs queued for this worker
|
# Jobs queued for this worker
|
||||||
|
|
Loading…
Add table
Reference in a new issue