Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions kombu/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ def _ensured(*args, **kwargs):
self._debug('ensure retry policy error: %r',
exc, exc_info=1)
except conn_errors as exc:
self.maybe_switch_next() # select next host
if got_connection and not has_modern_errors:
# transport can not distinguish between
# recoverable/irrecoverable errors, so we propagate
Expand Down