Skip to content

Commit 20f0ecd

Browse files
authored
fix(web): Ensure the default timeouts are correct (#322 by @ifsnow)
1 parent 1e9aa0d commit 20f0ecd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/internal/defaultConfiguration.web.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default {
22
reachabilityUrl: '/',
33
reachabilityTest: (response: Response): Promise<boolean> =>
44
Promise.resolve(response.status === 200),
5-
reachabilityShortTimeout: 60 * 1000, // 60s
6-
reachabilityLongTimeout: 5 * 1000, // 5s
5+
reachabilityShortTimeout: 5 * 1000, // 5s
6+
reachabilityLongTimeout: 60 * 1000, // 60s
77
reachabilityRequestTimeout: 15 * 1000, // 15s
88
};

0 commit comments

Comments
 (0)