diff --git a/lib/sidekiq/processor.rb b/lib/sidekiq/processor.rb index 2730b8ca..ff64316c 100644 --- a/lib/sidekiq/processor.rb +++ b/lib/sidekiq/processor.rb @@ -165,7 +165,7 @@ module Sidekiq def stats(worker, job, queue) tid = thread_identity - WORKER_STATE[tid] = {:queue => queue, :payload => job, :run_at => Time.now.to_i } + WORKER_STATE[tid] = {:queue => queue, :payload => cloned(job), :run_at => Time.now.to_i } begin yield