Skip to content

Commit

Permalink
Change queue by environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Mar 19, 2018
1 parent 5cc38e4 commit 4c7ac25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/plum_event_handler.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class PlumEventHandler
include Sneakers::Worker
from_queue :pomegranate,
from_queue :"pomegranate_#{Rails.env}",
WORKER_OPTIONS.merge(
arguments: { 'x-dead-letter-exchange': 'pomegranate-retry' }
)
Expand Down

0 comments on commit 4c7ac25

Please sign in to comment.