diff --git a/main.go b/main.go index 0889703..3ef4756 100644 --- a/main.go +++ b/main.go @@ -111,7 +111,7 @@ func (m UploadManager) pingWorker() error { } log.Infof("ping %s over threshold detected, starting extended pings...", stats.AvgRtt) - for stats.AvgRtt.Milliseconds() >= conf.ThrottlePingThreshold && m.isBWInRange(up-lastStep*2) { + for stats.AvgRtt.Milliseconds() >= conf.ThrottlePingThreshold { stats, err = doPing(conf.Host, conf.ConformationPPP, time.Second) if err != nil { log.Warningf("ping to %s failed: %v", conf.Host, err)