Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: replace the old version with a more maintainable Network Reachability test. #6392

Merged
merged 21 commits into from
Dec 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update NetworkReachabilityTracker.tsx
  • Loading branch information
huhuanming committed Dec 22, 2024
commit 190d90aab536b12371f027077d641cf5efc5edb8
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ const checkNetInfo = async (devSettings: IDevSettingsPersistAtom) => {
const endpoints = getEndpointsMapByDevSettings(devSettings);
configureNetInfo({
reachabilityUrl: `${endpoints.wallet}/wallet/v1/health`,
reachabilityMethod: 'GET',
reachabilityTest: async (response) => response.status === 200,
reachabilityLongTimeout: REACHABILITY_LONG_TIMEOUT,
reachabilityShortTimeout: REACHABILITY_SHORT_TIMEOUT,
reachabilityRequestTimeout: REACHABILITY_REQUEST_TIMEOUT,
Expand Down
Loading