Fix duplicate QueueNum assignment in speedtest item init

This commit is contained in:
freekof 2026-03-03 10:48:16 +08:00
parent fa9709da07
commit ba8ca97b2e

View file

@ -95,7 +95,6 @@ public class SpeedtestService(Config config, Func<SpeedTestResult, Task> updateF
Port = it.Port,
ConfigType = it.ConfigType,
NeedAutoFillRemarks = it.Remarks.IsNullOrEmpty(),
QueueNum = selecteds.IndexOf(it)
QueueNum = i,
Profile = profile,
CoreType = AppManager.Instance.GetCoreType(profile, it.ConfigType),