File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1414
1515## Bug Fixes
1616
17- <!-- Here goes notable bug fixes that are worth a special mention or explanation -->
17+ * Fixed that dispatches are never retried on failure, but instead an infinite loop of retry logs is triggered.
Original file line number Diff line number Diff line change @@ -323,7 +323,14 @@ async def _run(self) -> None:
323323
324324 async for selected in select (retry_recv , self ._dispatch_rx ):
325325 if retry_recv .triggered (selected ):
326- self ._retrier .retry (selected .message )
326+ dispatch = selected .message
327+ if not dispatch .started :
328+ _logger .info (
329+ "Giving up on dispatch %s, duration was exceeded." ,
330+ dispatch .id ,
331+ )
332+ else :
333+ await self ._handle_dispatch (selected .message )
327334 elif self ._dispatch_rx .triggered (selected ):
328335 await self ._handle_dispatch (selected .message )
329336
You can’t perform that action at this time.
0 commit comments