diff --git a/ProjBobcat/ProjBobcat/Class/Helper/DownloadHelper.cs b/ProjBobcat/ProjBobcat/Class/Helper/DownloadHelper.cs index 9eb71fd..a7e42ad 100644 --- a/ProjBobcat/ProjBobcat/Class/Helper/DownloadHelper.cs +++ b/ProjBobcat/ProjBobcat/Class/Helper/DownloadHelper.cs @@ -132,7 +132,7 @@ public static async Task DownloadData(AbstractDownloadBase downloadFile, Downloa await destStream.WriteAsync(buffer.Memory[..bytesRead], cts.Token); var duration = Stopwatch.GetElapsedTime(startTime); - var elapsedTime = duration.TotalSeconds == 0 ? 1 : duration.TotalSeconds; + var elapsedTime = duration.TotalSeconds < 0.0001 ? 1 : duration.TotalSeconds; averageSpeed = responseLength / elapsedTime;