diff --git a/Site/Automation/UploadFileHandler.ashx b/Site/Automation/UploadFileHandler.ashx index eeeeb3e2..7f45cd44 100644 --- a/Site/Automation/UploadFileHandler.ashx +++ b/Site/Automation/UploadFileHandler.ashx @@ -432,6 +432,7 @@ namespace Swarmops.Frontend.Automation " " + StorageRoot + relativeFileName + "-%04d.png\""); // Density 600 means 600dpi means production-grade conversion + process.PriorityClass = ProcessPriorityClass.Idle; // play real nice now int pageCounter = 0; // the first produced page will be zero int currentPageBaseProgress = progressFileStep*fileIndex + currentFilePageStep*pageCounter; @@ -518,7 +519,6 @@ namespace Swarmops.Frontend.Automation } - private class ProcessThreadArguments { public string Guid { get; set; } diff --git a/Site/Controls/v5/Base/FileUpload.ascx b/Site/Controls/v5/Base/FileUpload.ascx index f5e9b2e7..dd4a3bef 100644 --- a/Site/Controls/v5/Base/FileUpload.ascx +++ b/Site/Controls/v5/Base/FileUpload.ascx @@ -115,7 +115,10 @@ } } }, - function(error) { + function (error) { + // try again + + setTimeout(function() { <%=this.ClientID%>_repingPdfProgress(); }, 500); } );