From 97f57ea448dc14f0815586d12eeb30c909fcc852 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Thu, 10 Feb 2022 10:54:35 +0100 Subject: [PATCH] fix: increase gateway timeout --- packages/gateway/src/gateway.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gateway/src/gateway.js b/packages/gateway/src/gateway.js index a44e10819a..81ef3dde7f 100644 --- a/packages/gateway/src/gateway.js +++ b/packages/gateway/src/gateway.js @@ -178,7 +178,7 @@ async function gatewayFetch( cid, request, env, - { pathname = '', timeout = 20000 } = {} + { pathname = '', timeout = 60000 } = {} ) { // Block before hitting rate limit if needed const { shouldBlock } = await getGatewayRateLimitState(request, env, gwUrl)