Skip to content

Commit

Permalink
Apply errback and callback when retry occurs.
Browse files Browse the repository at this point in the history
  • Loading branch information
thedrow committed Sep 30, 2024
1 parent 74779a8 commit 14a7b22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kombu/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,10 @@ def _extract_failover_opts(self):
if 'connect_retries_timeout' in transport_opts:
conn_opts['timeout'] = \
transport_opts['connect_retries_timeout']
if 'errback' in transport_opts:
conn_opts['errback'] = transport_opts['errback']
if 'callback' in transport_opts:
conn_opts['callback'] = transport_opts['callback']
return conn_opts

@property
Expand Down

0 comments on commit 14a7b22

Please sign in to comment.