mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Surface the value so we can perform Redis ops with the job
This commit is contained in:
parent
69c9d66740
commit
c7f2f5f93d
1 changed files with 1 additions and 0 deletions
|
@ -277,6 +277,7 @@ module Sidekiq
|
|||
#
|
||||
class Job
|
||||
attr_reader :item
|
||||
attr_reader :value
|
||||
|
||||
def initialize(item, queue_name=nil)
|
||||
@value = item
|
||||
|
|
Loading…
Reference in a new issue