lib/rekiq/scheduler.rb in rekiq-0.0.1 vs lib/rekiq/scheduler.rb in rekiq-0.5.0
- old
+ new
@@ -28,10 +28,10 @@
client_args = {
'at' => work_time.to_f,
'queue' => queue,
'class' => worker_name,
'args' => args,
- 'rq:job' => job.to_short_key_hash,
+ 'rq:job' => job.to_array,
'rq:at' => work_time.to_f
}.tap do |hash|
hash['rq:addon'] = addon unless addon.nil?
end
\ No newline at end of file