1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Don't overwrite enqueued_at when retrying

This commit is contained in:
Mike Perham 2013-08-15 20:05:36 -07:00
parent 484d35e18b
commit 6bb7706736

View file

@ -133,7 +133,7 @@ module Sidekiq
end
normalized_item['jid'] ||= SecureRandom.hex(12)
normalized_item['enqueued_at'] = Time.now.to_f
normalized_item['enqueued_at'] ||= Time.now.to_f
normalized_item
end