File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ require([
412412 outputStream.write(chunk);
413413 thisChunkTime = Date.now();
414414 read += chunk.length;
415- if(lastReportTime < 0 || ((thisChunkTime-lastReportTime) > 2000 )) {
415+ if(lastReportTime < 0 || ((thisChunkTime-lastReportTime) > 300 )) {
416416 lastReportTime = Date.now();
417417 self.postMessage({message: "update", size: read});
418418 read = 0;
@@ -495,7 +495,7 @@ require([
495495 // Will abort out of an update if there isn't a pending cancellation and the last update time was < 2 seconds
496496 // ago
497497 progressUpdate ( message , progType ) {
498- if ( this . lastProgressUpdate > 0 && Date . now ( ) - this . lastProgressUpdate < 1000 && ! this . pending_cancellation )
498+ if ( this . lastProgressUpdate > 0 && Date . now ( ) - this . lastProgressUpdate < 300 && ! this . pending_cancellation )
499499 return ;
500500 progType = progType || "download" ;
501501 let type = "info" ;
You can’t perform that action at this time.
0 commit comments