优化下载速度计算

This commit is contained in:
nilaoda 2022-09-28 17:36:41 +08:00
parent 4579334a3f
commit 242fe1b180
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ namespace N_m3u8DL_RE.Column
task.Value = speedContainer.RDownloaded;
}
//一秒汇报一次即可
if (DateTimeStringDic.TryGetValue(taskId, out var oldTime) && oldTime != now)
if (DateTimeStringDic.TryGetValue(taskId, out var oldTime) && oldTime != now && !flag)
{
SpeedDic[taskId] = FormatFileSize(speedContainer.Downloaded);
//速度为0计数增加