Skip to content

Commit

Permalink
Increase timeout on PDF generation (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-halinen committed Oct 19, 2023
1 parent 7747bf4 commit 9c1dab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async function renderComponent(options) {
height: height * SCALE,
pageRanges: '1',
scale: SCALE,
timeout: 60000,
timeout: 5 * 60000,
};

const contents = await page.pdf(printOptions);
Expand Down

0 comments on commit 9c1dab0

Please sign in to comment.