mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Dont set enqueued_at as we may be scheduling the jobs, see #5162
This commit is contained in:
parent
9627cbbb94
commit
e786e1c4aa
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ module Sidekiq
|
|||
|
||||
normed = normalize_item(items)
|
||||
payloads = args.map.with_index { |job_args, index|
|
||||
copy = normed.merge("args" => job_args, "jid" => SecureRandom.hex(12), "enqueued_at" => Time.now.to_f)
|
||||
copy = normed.merge("args" => job_args, "jid" => SecureRandom.hex(12))
|
||||
copy["at"] = (at.is_a?(Array) ? at[index] : at) if at
|
||||
|
||||
result = process_single(items["class"], copy)
|
||||
|
|
Loading…
Add table
Reference in a new issue