More testing even still

This commit is contained in:
Rick Falkvinge
2017-09-29 15:14:54 +02:00
parent 5dfe9127e8
commit 67d809bc92
+2 -1
View File
@@ -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