Skip to content

Commit

Permalink
Keep the correct job parameter format
Browse files Browse the repository at this point in the history
  • Loading branch information
jlledom committed Nov 3, 2023
1 parent 0daa08b commit 60ce61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/zync_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def on_complete(_bid, options)
# The number of retries is usually controlled at the origin of the failure using ThreeScale::SidekiqRetrySupport::Worker#last_attempt?,
# but in this case we are not really using Sidekiq retries, but rather re-enqueueing the job manually here
manual_retry_count = options['manual_retry_count'].to_i + 1
perform_async(event.event_id, event.data, manual_retry_count)
perform_async(event.event_id, event.data.to_json, manual_retry_count)
end

delegate :perform_async, to: :class
Expand Down

0 comments on commit 60ce61c

Please sign in to comment.