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