Skip to content

Commit

Permalink
Add retry states for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol Vijaywargiya committed May 19, 2022
1 parent 280c35d commit b1e3871
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ziggurat/messaging/producer.clj
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@
(log/error e "Exception was encountered while borrowing a channel from the pool")
(metrics/increment-count ["rabbitmq" "publish" "channel_borrow"] {:topic-entity (name (:topic-entity message-payload))})
:retry-with-counter)))
<<<<<<< HEAD

=======
>>>>>>> 6a8eb91... Add retry states for publish

(defn- publish-retry-config []
(-> (ziggurat-config) :rabbit-mq-connection :publish-retry))
Expand Down

0 comments on commit b1e3871

Please sign in to comment.