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

remove old hack

This commit is contained in:
Mike Perham 2021-03-26 08:09:05 -07:00
parent f0a20b1a5e
commit bedbd7fe53

View file

@ -228,10 +228,6 @@ module Sidekiq
end
def normalize_item(item)
# 6.0.0 push_bulk bug, #4321
# TODO Remove after a while...
item.delete("at") if item.key?("at") && item["at"].nil?
validate(item)
# raise(ArgumentError, "Arguments must be native JSON types, see https://github.com/mperham/sidekiq/wiki/Best-Practices") unless JSON.load(JSON.dump(item['args'])) == item['args']