From 5db80814031c1ea05c6348e24dfcf06e04ad76f5 Mon Sep 17 00:00:00 2001 From: Tobias Bocanegra Date: Tue, 27 Feb 2024 17:14:56 +0100 Subject: [PATCH] chore: fix timeout --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 3a37f1b6..dc951f13 100644 --- a/src/index.js +++ b/src/index.js @@ -194,7 +194,7 @@ async function run(request, ctx) { filter: /* c8 ignore next */ (blob) => ((blob.contentType || '').startsWith('image/')), blobAgent: `html2md-${pkgJson.version}`, noCache, - fetchTimeout: 115000, // limit image fetches to 5s + fetchTimeout: 5000, // limit image fetches to 5s forceHttp1: true, }); }