File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 133133 var bandwidthMbs = ( ( this . totalChunckBytes * 8 ) / 1000000 ) / ( ( performance . now ( ) - this . _beginTime ) / 1000 ) ;
134134 this . resultsMb . push ( bandwidthMbs ) ;
135135 this . resultsIntervalMb . push ( bandwidthMbs ) ;
136- this . clientCallbackProgress ( bandwidthMbs ) ;
136+ if ( this . intervalCounter > 3 ) {
137+ this . clientCallbackProgress ( bandwidthMbs ) ;
138+ }
137139 this . newRequests ( 1 ) ;
138140 } ;
139141
151153 var bandwidthMbs = ( ( this . totalChunckBytes * 8 ) / 1000000 ) / ( ( performance . now ( ) - this . _beginTime ) / 1000 ) ;
152154 this . resultsMb . push ( bandwidthMbs ) ;
153155 this . resultsIntervalMb . push ( bandwidthMbs ) ;
154- this . clientCallbackProgress ( bandwidthMbs ) ;
156+ if ( this . intervalCounter > 3 ) {
157+ this . clientCallbackProgress ( bandwidthMbs ) ;
158+ }
155159 } ;
156160
157161 /**
You can’t perform that action at this time.
0 commit comments