From fe14f0a94c99e8d3e059c9e77543d37d2fe5efd2 Mon Sep 17 00:00:00 2001 From: DHR60 Date: Sun, 12 Oct 2025 15:56:53 +0800 Subject: [PATCH] Fix --- v2rayN/ServiceLib/Services/SpeedtestService.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/v2rayN/ServiceLib/Services/SpeedtestService.cs b/v2rayN/ServiceLib/Services/SpeedtestService.cs index b4fb6a32..8844f2ae 100644 --- a/v2rayN/ServiceLib/Services/SpeedtestService.cs +++ b/v2rayN/ServiceLib/Services/SpeedtestService.cs @@ -242,8 +242,7 @@ public class SpeedtestService(Config config, Func updateF } //Retest the failed part - var pageSizeNext = pageSize / 2; - if (lstFailed.Count > 0 && pageSizeNext > 0) + if (lstFailed.Count > 0) { if (_lstExitLoop.Any(p => p == exitLoopKey) == false) { @@ -253,7 +252,7 @@ public class SpeedtestService(Config config, Func updateF await UpdateFunc("", string.Format(ResUI.SpeedtestingTestFailedPart, lstFailed.Count)); - await RunUdpTestBatchAsync(lstFailed, exitLoopKey, pageSizeNext); + await RunUdpTestAsync(lstFailed, exitLoopKey); } }