From d51d59d4d37010982b55d863ab2a9111333ace07 Mon Sep 17 00:00:00 2001 From: Martijn van de Rijdt Date: Wed, 17 May 2023 15:25:18 -0400 Subject: [PATCH] Make pdf generation timeout configurable --- app/lib/pdf.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/pdf.js b/app/lib/pdf.js index c909d7848..f25a482f6 100644 --- a/app/lib/pdf.js +++ b/app/lib/pdf.js @@ -103,6 +103,7 @@ async function get(url, options = {}) { }, scale: options.scale, printBackground: true, + timeout, }); } catch (e) { e.status = e.status || 400;