Skip to content

Commit

Permalink
Do not retry for package import workers as it is run every 10 minutes…
Browse files Browse the repository at this point in the history
… anyway
  • Loading branch information
kentsanggds committed Dec 9, 2024
1 parent 21600d0 commit fba4e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/ckan/v26/package_import_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fba4e74

Please sign in to comment.