From ee5c669b4d986440fa4ef4ce38a3ff2a565aa9c0 Mon Sep 17 00:00:00 2001 From: Krikor Krumlian Date: Tue, 7 Mar 2023 14:18:23 -0500 Subject: [PATCH] Hardcoded PDF timeout increase --- app/lib/pdf.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/pdf.js b/app/lib/pdf.js index 294829e03..0ee133b0a 100644 --- a/app/lib/pdf.js +++ b/app/lib/pdf.js @@ -75,6 +75,7 @@ async function get(url, options = {}) { }, scale: options.scale, printBackground: true, + timeout: 300000, }); } catch (e) { e.status = e.status || 400;