Open airpod2 opened 1 year ago
connect_robust takes timeout as a parameter but make_url does not take timeout as a parameter, so it does not get included in the URL. Because aiormq parses timeout from the URL query, it always takes about 3 minutes to reconnect.
timeout
frame_receiver = FrameReceiver( reader, (self.timeout + 1) * self.HEARTBEAT_GRACE_MULTIPLIER, ) //default timeout = 60 sec
Could you add timeout to make_url() or is it okay to make a pull request about this? Please let me know if there is any other way to reconnect faster.
connect_robust takes
timeout
as a parameter but make_url does not taketimeout
as a parameter, so it does not get included in the URL. Because aiormq parsestimeout
from the URL query, it always takes about 3 minutes to reconnect.Could you add
timeout
to make_url() or is it okay to make a pull request about this? Please let me know if there is any other way to reconnect faster.