Skip to content

Commit bc6336b

Browse files
committed
Add more timeout to rendering
1 parent a156f3f commit bc6336b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/worker.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ async function renderComponent(options) {
8686
height: height * SCALE,
8787
pageRanges: '1',
8888
scale: SCALE,
89+
timeout: 60000,
8990
};
9091

9192
const contents = await page.pdf(printOptions);

0 commit comments

Comments
 (0)