#1220 frontend: don't send the message N-times
Merged 2 years ago by praiskup. Opened 2 years ago by praiskup.

@@ -181,6 +181,7 @@ 

          for attempt in range(1, self.opts.bus_publish_retries + 1):

              try:

                  self._send_message(message)

+                 break

              except Exception: # pylint: disable=W0703

                  # We don't want to halt the worker because of messaging.

                  self.log.exception("Attempt %s to publish a message failed", attempt)

Pull-Request has been merged by praiskup

2 years ago