increase fetch timeout

This commit is contained in:
HF 2022-09-24 19:42:14 +02:00
parent 5e1bf23d17
commit 6fe2d14f65
1 changed files with 1 additions and 1 deletions

View File

@ -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);