From 6fe2d14f6592bd88d16637ac73baacb57da19562 Mon Sep 17 00:00:00 2001 From: HF Date: Sat, 24 Sep 2022 19:42:14 +0200 Subject: [PATCH] increase fetch timeout --- src/store/actions/fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/actions/fetch.js b/src/store/actions/fetch.js index cbe4267..ac1166f 100644 --- a/src/store/actions/fetch.js +++ b/src/store/actions/fetch.js @@ -29,7 +29,7 @@ export const shardOrigin = shardHost * defaults to 8s */ async function fetchWithTimeout(url, options = {}) { - const { timeout = 10000 } = options; + const { timeout = 30000 } = options; const controller = new AbortController(); const id = setTimeout(() => controller.abort(), timeout);