improved logging

This commit is contained in:
2022-07-04 23:26:25 +02:00
parent 8f9afad583
commit 06d7d93c5d

View File

@@ -132,7 +132,7 @@ func (m UploadManager) pingWorker() error {
}
if stats.AvgRtt.Milliseconds() >= conf.ThrottlePingThreshold {
log.Infof("Ping confirmed, adjusting upload TC %d->%d", up, up-conf.Bandwidth.Step)
log.Infof("Ping confirmed (%s), adjusting upload TC %d->%d", stats.AvgRtt, up, up-conf.Bandwidth.Step)
err = m.SetUpload(up - conf.Bandwidth.Step)
if err != nil {
return err