Pdf async conversion - Code test 3

This commit is contained in:
Rick Falkvinge
2017-09-29 13:52:07 +02:00
parent 911b6154f2
commit b896e5a45c
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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; }
+4 -1
View File
@@ -115,7 +115,10 @@
}
}
},
function(error) {
function (error) {
// try again
setTimeout(function() { <%=this.ClientID%>_repingPdfProgress(); }, 500);
}
);