Skip to content

Commit

Permalink
Set backoff timing to default for Ra jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
eronisko committed May 8, 2017
1 parent 7b29764 commit af4e9c2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions app/jobs/ra/fetch_changes_batch_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions app/jobs/ra/sync_changes_batches_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit af4e9c2

Please sign in to comment.