Skip to content

Commit 56e11cb

Browse files
committed
chore: default timeout increased
1 parent e253302 commit 56e11cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/common/hooks/useOnline/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Routes } from '@Config/constants'
22

3-
const DEFAULT_TIMEOUT = 10000
3+
const DEFAULT_TIMEOUT = 20000
44

55
const fetchWithTimeout = (url: string, options: RequestInit, controller: AbortController): Promise<any> => {
66
const timeoutId = setTimeout(() => controller.abort(), DEFAULT_TIMEOUT)

0 commit comments

Comments
 (0)