From 83be3cfa71a6976992b6555519581254332d0313 Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 26 Sep 2024 09:48:37 +1000 Subject: [PATCH] Increase timeout for report printing (#8187) --- src/frontend/src/components/buttons/PrintingActions.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/components/buttons/PrintingActions.tsx b/src/frontend/src/components/buttons/PrintingActions.tsx index fbeb5deab1..43dce5b3bd 100644 --- a/src/frontend/src/components/buttons/PrintingActions.tsx +++ b/src/frontend/src/components/buttons/PrintingActions.tsx @@ -92,7 +92,7 @@ export function PrintingActions({ url: apiUrl(ApiEndpoints.label_print), title: t`Print Label`, fields: labelFields, - timeout: (items.length + 1) * 1000, + timeout: (items.length + 1) * 5000, onClose: () => { setPluginKey(''); }, @@ -121,7 +121,7 @@ export function PrintingActions({ const reportModal = useCreateApiFormModal({ title: t`Print Report`, url: apiUrl(ApiEndpoints.report_print), - timeout: (items.length + 1) * 1000, + timeout: (items.length + 1) * 5000, fields: { template: { filters: {