From 60ce61cde319490356feaa10ecc7e60f1a014113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Lled=C3=B3?= Date: Fri, 3 Nov 2023 16:38:55 +0100 Subject: [PATCH] Keep the correct job parameter format --- app/workers/zync_worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/workers/zync_worker.rb b/app/workers/zync_worker.rb index 9bd23cc775..455d2f5b0a 100644 --- a/app/workers/zync_worker.rb +++ b/app/workers/zync_worker.rb @@ -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