From 67d809bc924d16fdacb2cbef8c1573b5a397f351 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Fri, 29 Sep 2017 15:14:54 +0200 Subject: [PATCH] More testing even still --- Site/Automation/UploadFileHandler.ashx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Site/Automation/UploadFileHandler.ashx b/Site/Automation/UploadFileHandler.ashx index 3ebb2036..3007d6df 100644 --- a/Site/Automation/UploadFileHandler.ashx +++ b/Site/Automation/UploadFileHandler.ashx @@ -450,7 +450,8 @@ namespace Swarmops.Frontend.Automation quarterSecondWaiting++; progress = currentPageBaseProgress + Math.Min(quarterSecondWaiting, 50)*currentFilePageStep/2/50; // advance to 1/2 page over 5s while waiting - debugWriter.WriteLine("{0:D2}%, waiting for page #{1} to appear", progress, pageCounter+1); + debugWriter.WriteLine("{0:D2}%, {2:O}, waiting for page #{1} to appear", progress, pageCounter+1, DateTime.UtcNow); + debugWriter.Flush(); GuidCache.Set("Pdf-" + argsProper.Guid + "-Progress", progress); process.WaitForExit(250); // this is a more elaborate version of thread.sleep that prevents Apache recycling