mirror of
https://github.com/discourse/discourse.git
synced 2026-07-29 15:54:48 -05:00
DEV: Upgrade oj gem (#11516)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user