"Follower" connection timer too?
Author: meejahCreated Aug 27, 2025Updated Aug 27, 2025
Labelsenhancementdilation
Currently, we only have the Leader doing re-connect timers. As the Leader is the one that selects the active connection, we cannot successfully re-connect until the Leader is back online.
However, if one Peer vanishes from the internet, we get two different behaviors:
- if the remaining peer is the Leader, the user will get a notification that re-connection is happening
- if the remaining peer is the Follower, there is no such notification
Ultimately, if the leader is gone forever (e.g. crashed, computer turned off, etc) then the a RE-connection will never happen.
However, the Follow should perhaps track its own (slightly longer?) timer and notify the user that the peer is missing after two ping timeouts (i.e. similar to Leader behavior, except the Follower cannot initiate re-connect steps).
Source: magic-wormhole/magic-wormhole