Skip to content

Commit

Permalink
fix(web): Ensure the default timeouts are correct (#322 by @ifsnow)
Browse files Browse the repository at this point in the history
  • Loading branch information
ifsnow authored Mar 11, 2020
1 parent 1e9aa0d commit 20f0ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal/defaultConfiguration.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default {
reachabilityUrl: '/',
reachabilityTest: (response: Response): Promise<boolean> =>
Promise.resolve(response.status === 200),
reachabilityShortTimeout: 60 * 1000, // 60s
reachabilityLongTimeout: 5 * 1000, // 5s
reachabilityShortTimeout: 5 * 1000, // 5s
reachabilityLongTimeout: 60 * 1000, // 60s
reachabilityRequestTimeout: 15 * 1000, // 15s
};

0 comments on commit 20f0ecd

Please sign in to comment.