mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
clone the job so middleware changes don't affect Busy listing
This commit is contained in:
parent
5e07c8d6dc
commit
cc9847cd9c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue