Skip to content

Commit

Permalink
separate queue for doi transfers. #295
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jun 18, 2019
1 parent 76f223b commit 639a601
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/jobs/transfer_job.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class TransferJob < ActiveJob::Base
queue_as :lupo_background
queue_as :lupo_transfer

# retry_on ActiveRecord::RecordNotFound, wait: 10.seconds, attempts: 3
# retry_on Faraday::TimeoutError, wait: 10.minutes, attempts: 3
Expand Down
6 changes: 5 additions & 1 deletion config/shoryuken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ queues:
- lupo

groups:
transfer:
concurrency: 3
queues:
- lupo_transfer
background:
concurrency: 5
concurrency: 3
queues:
- lupo_background

0 comments on commit 639a601

Please sign in to comment.