You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is related to #279. To implement a reconnect timeout from the outside, we use a watchdog doing await RobustConnection.close() after a reconnect timeout. But that doesn't actually do anything to the ongoing loop in RobustConnection.connect() (spawned by reconnect()). There are several issues with this:
You can't get out of this loop except for ugly workarounds (forcing fail_fast=True).
This is related to #279. To implement a reconnect timeout from the outside, we use a watchdog doing
await RobustConnection.close()
after a reconnect timeout. But that doesn't actually do anything to the ongoing loop inRobustConnection.connect()
(spawned byreconnect()
). There are several issues with this:fail_fast=True
).I would suggest that
RobustConnection
keeps track ofreconnect()
tasks and cleanlycancel()
them inclose()
.I'm happy to help with a PR if the general direction would be acceptable.
While this constitutes an independent improvement. Issue #279 / PR #247 would still be great to have.
The text was updated successfully, but these errors were encountered: