Skip to content

Commit

Permalink
chore: fix timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
tripodsan committed Feb 27, 2024
1 parent fb4046f commit 5db8081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
}
Expand Down

0 comments on commit 5db8081

Please sign in to comment.