diff --git a/app/jobs/ra/fetch_changes_batch_job.rb b/app/jobs/ra/fetch_changes_batch_job.rb index 12b57000..1b85c4c7 100644 --- a/app/jobs/ra/fetch_changes_batch_job.rb +++ b/app/jobs/ra/fetch_changes_batch_job.rb @@ -570,10 +570,6 @@ class Ra::FetchChangesBatchJob sidekiq_options queue: 'ra' - sidekiq_retry_in do |_count| - 1.day.to_i - end - def perform(url, downloader: ::Harvester::Utils) file = downloader.download_file(url) perform_on_file(file) diff --git a/app/jobs/ra/sync_changes_batches_job.rb b/app/jobs/ra/sync_changes_batches_job.rb index 966fb3ec..c528c9a9 100644 --- a/app/jobs/ra/sync_changes_batches_job.rb +++ b/app/jobs/ra/sync_changes_batches_job.rb @@ -4,10 +4,6 @@ class Ra::SyncChangesBatchesJob sidekiq_options queue: 'ra' - sidekiq_retry_in do |_count| - 1.day.to_i - end - CHANGES_BATCHES_URL = 'https://data.gov.sk/dataset/register-adries-zmenove-davky' @@downloader = Faraday.new(request: { timeout: 5.minutes.to_i })