Skip to content

Commit f74b8cc

Browse files
authored
fix: Correct reachability timeouts in default configuration (#301 by @davidstritzl)
1 parent 3992bd7 commit f74b8cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ const DEFAULT_CONFIGURATION = {
1616
reachabilityUrl: 'https://clients3.google.com/generate_204',
1717
reachabilityTest: (response: Response): Promise<boolean> =>
1818
Promise.resolve(response.status === 204),
19-
reachabilityShortTimeout: 60 * 1000, // 60s
20-
reachabilityLongTimeout: 5 * 1000, // 5s
19+
reachabilityLongTimeout: 60 * 1000, // 60s
20+
reachabilityShortTimeout: 5 * 1000, // 5s
2121
};
2222

2323
// Stores the currently used configuration

0 commit comments

Comments
 (0)