Skip to content

Commit

Permalink
Use environment specific retry queue.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Sep 17, 2019
1 parent 60a2f12 commit d645828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/figgy_event_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class FiggyEventHandler
include Sneakers::Worker
from_queue :"pomegranate_#{Rails.env}",
WORKER_OPTIONS.merge(
arguments: { 'x-dead-letter-exchange': 'pomegranate-retry' }
arguments: { 'x-dead-letter-exchange': "pomegranate_#{Rails.env}-retry" }
)

def work(msg)
Expand Down

0 comments on commit d645828

Please sign in to comment.