From fba4e74faf8e35d867507f295b0615fce44080db Mon Sep 17 00:00:00 2001 From: kentsanggds Date: Mon, 9 Dec 2024 16:25:23 +0000 Subject: [PATCH] Do not retry for package import workers as it is run every 10 minutes anyway --- app/workers/ckan/v26/package_import_worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/workers/ckan/v26/package_import_worker.rb b/app/workers/ckan/v26/package_import_worker.rb index 3fd645df..d0d663b8 100644 --- a/app/workers/ckan/v26/package_import_worker.rb +++ b/app/workers/ckan/v26/package_import_worker.rb @@ -2,7 +2,7 @@ module CKAN module V26 class PackageImportWorker include Sidekiq::Worker - sidekiq_options queue: :import, retry: 3 # Discarded after ~2 minutes + sidekiq_options queue: :import, retry: false def perform(package_id, *_args) package = get_package_from_ckan(package_id)