DEV: Upgrade oj gem (#11516)

This commit is contained in:
Robin Ward
2020-12-17 11:18:45 +11:00
committed by GitHub
parent c54217f33d
commit 8c9675c913
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -77,8 +77,8 @@ module SidekiqHelpers
matched_job ||= args.all? do |key, value|
value = value.to_s if value.is_a?(Symbol)
if key == :at && !job_args.has_key?(:at)
value == job_args[:enqueued_at]
if key == :at
value.to_f == (job_args[:at] || job_args[:enqueued_at]).to_f
else
value == job_args[key]
end