Skip to content

Commit

Permalink
Merge pull request #1059 from aligent/fix/bump_up_timeout
Browse files Browse the repository at this point in the history
give higher timeout for prerender to talk to the backend
  • Loading branch information
crispy101 authored Jul 12, 2023
2 parents f1ecc60 + 66346da commit 633c019
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/prerender-proxy/lib/handlers/prerender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const handler = async (
domainName: PRERENDER_URL,
port: 443,
protocol: "https",
readTimeout: 20,
readTimeout: 60,
keepaliveTimeout: 5,
sslProtocols: ["TLSv1", "TLSv1.1", "TLSv1.2"],
path: "/https%3A%2F%2F" + request.headers["x-prerender-host"][0].value,
Expand All @@ -49,3 +49,4 @@ export const handler = async (

return request;
};
1;

0 comments on commit 633c019

Please sign in to comment.