From 2e9b58462668b46a74e34849f15763cbf5305a85 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 25 Oct 2021 20:53:17 +0000 Subject: [PATCH] --- server/AyaNova/biz/ReportBiz.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/AyaNova/biz/ReportBiz.cs b/server/AyaNova/biz/ReportBiz.cs index 04c34177..42c6cf7b 100644 --- a/server/AyaNova/biz/ReportBiz.cs +++ b/server/AyaNova/biz/ReportBiz.cs @@ -422,7 +422,7 @@ namespace AyaNova.Biz reportRequest.IncludeWoItemDescendants = report.IncludeWoItemDescendants; //Get data - var ReportData = await GetReportData(reportRequest); + var ReportData = await GetReportData(reportRequest);//SLOW //if GetReportData errored then will return null so need to return that as well here if (ReportData == null) { @@ -699,7 +699,7 @@ namespace AyaNova.Biz //render to pdf and return log.LogDebug($"Calling render page contents to PDF"); - await page.PdfAsync(outputFullPath, PdfOptions); + await page.PdfAsync(outputFullPath, PdfOptions);//SLOW log.LogDebug($"Completed, returning results"); return outputFileName;