Tweaked the formula again

This commit is contained in:
adolfintel 2018-12-08 09:04:08 +01:00
parent 20d3be4ac3
commit b9bccc3ed0
2 changed files with 3 additions and 3 deletions

View file

@ -277,7 +277,7 @@ function dlTest (done) {
var speed = totLoaded / (t / 1000.0)
if(settings.time_auto){
//decide how much to shorten the test. Every 200ms, the test is shortened by the bonusT calculated here
var bonus=8*speed/100000
var bonus=6.4*speed/100000
bonusT+=bonus>800?800:bonus
}
//update status
@ -405,7 +405,7 @@ function ulTest (done) {
var speed = totLoaded / (t / 1000.0)
if(settings.time_auto){
//decide how much to shorten the test. Every 200ms, the test is shortened by the bonusT calculated here
var bonus=8*speed/100000
var bonus=6.4*speed/100000
bonusT+=bonus>800?800:bonus
}
//update status

File diff suppressed because one or more lines are too long