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
The NetworkController method lookupNetwork doesn't currently have a timeout. The default fetch timeout is quite long, leading to long delays in situations where we're waiting to know whether the network is accessible or not. We should add a timeout of 5 seconds. We can assume that networks that take longer than that to respond are inaccessible.
Acceptance Criteria
Add a timeout on the lookupNetwork method
Add unit tests for this change
The text was updated successfully, but these errors were encountered:
The
NetworkController
methodlookupNetwork
doesn't currently have a timeout. The default fetch timeout is quite long, leading to long delays in situations where we're waiting to know whether the network is accessible or not. We should add a timeout of 5 seconds. We can assume that networks that take longer than that to respond are inaccessible.Acceptance Criteria
lookupNetwork
methodThe text was updated successfully, but these errors were encountered: