-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Issue Description:
When the internet is reconnected, the app takes an excessive amount of time to establish a connection to the hops when they were previously 'Off'. When the internet is disconnected, the 'On' state persists for several seconds before reflecting the disconnection. The Hops connection state should update promptly in response to changes in network availability.
Steps to Reproduce:
1.Test Case A (Connecting): Start with the internet disabled and Hops 'Off'. Enable Wi-Fi or Mobile Data and observe the time it takes for the Hops to transition to 'On'.
2.Test Case B (Disconnecting): Start with the internet enabled and Hops 'On'. Disable the internet and observe how long the 'On' state remains visible in the UI before switching to 'Off'.
3.Notice the multi-second latency in both scenarios.
Actual Result:
1.Reconnection Delay: When the internet connection is restored, the application takes an excessive amount of time to establish a connection to the Hops if they were previously in an 'Off' state.
2.Disconnection Delay: When the internet is disconnected, the Hops status incorrectly persists in the 'On' state for several seconds before the UI reflects the actual disconnection.
Expected Result:
he Hops connection state should update promptly and accurately in response to changes in network availability. The transition between 'Online/Connected' and 'Offline/Disconnected' should be near-instantaneous to reflect the true state of the network.