Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement connection failure -based heuristics for peer unavailability in thaliMobile #582
The specification in thaliMobile contains parts like:
Current implementation will mark peers unavailable after certain threshold, but not based on failed connection attempts.
It should be determined how often connection failure -based unavailability would be needed in real life scenarios.
I think it's fine to skip this entirely for now. E.g. we can just not implement for NewInfra. As it is thaliMobileNativeWrapper will send up a new peerAvailabilityChanged event when this occurs and that will automatically reset our timers. If we try to connect and thaliMobileNative can't make the connect work then we should get a peerAvailabilityChanged from thaliMobileNativeWrapper telling us the peer is gone.