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 Oct 3, 2024
1 parent ea6a160 commit db4973a
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 db4973a

Please sign in to comment.