diff --git a/assets/js/fm.js b/assets/js/fm.js index c867d91..f332ad5 100644 --- a/assets/js/fm.js +++ b/assets/js/fm.js @@ -117,7 +117,7 @@ UploadForm.prototype.updateSpeed = function (loaded) { if (this.lastTransferTime) { this.xferSpeed.push((loaded - this.lastLoaded) / (time - this.lastTransferTime)); - if (this.xferSpeed.length > 10) this.xferSpeed = this.xferSpeed.slice(1); + if (this.xferSpeed.length > 100) this.xferSpeed = this.xferSpeed.slice(1); let speed = this.xferSpeed.reduce((v, c) => v + c) / this.xferSpeed.length; let unit = 0;