Skip to content

Commit

Permalink
remove passive
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandobandeira committed Dec 5, 2024
1 parent 5de0cc1 commit a8c1835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/events/rabbitmq/consumer/declares.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (r *rabbitmqConsumer) deadLetterDeclare(dlxName string) error {
return eris.Wrap(err, "failed to declare exchange")
}

_, err = r.chManager.Channel.QueueDeclarePassive(
_, err = r.chManager.Channel.QueueDeclare(
dlxName,
true,
false,
Expand Down

0 comments on commit a8c1835

Please sign in to comment.