-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(transport): return Poll::ready until error is consumed (#536)
* fix(transport): return Poll::ready until error is consumed When a lazy connection fails to connect it first returns Poll::ready from the reconnect service, yet the subsequent call returns Poll::pending making tower_balance loop forever. Instead, on error we return Ready until the error is consumed in the call method. * chore: revert version change * refactor: Into<Error> bounds for error intead of debug * Remove fmt::Debug bound for reconnect Co-authored-by: Helge Hoff <[email protected]>
- Loading branch information
1 parent
31936e0
commit dafea9a
Showing
1 changed file
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters