diff --git a/v2rayN/ServiceLib/Handler/ConfigHandler.cs b/v2rayN/ServiceLib/Handler/ConfigHandler.cs
index 464a8222..994d4284 100644
--- a/v2rayN/ServiceLib/Handler/ConfigHandler.cs
+++ b/v2rayN/ServiceLib/Handler/ConfigHandler.cs
@@ -125,6 +125,10 @@ namespace ServiceLib.Handler
{
config.SpeedTestItem.SpeedPingTestUrl = Global.SpeedPingTestUrl;
}
+ if (config.SpeedTestItem.MixedConcurrencyCount < 1)
+ {
+ config.SpeedTestItem.MixedConcurrencyCount = 5;
+ }
config.Mux4RayItem ??= new()
{
diff --git a/v2rayN/ServiceLib/Handler/CoreHandler.cs b/v2rayN/ServiceLib/Handler/CoreHandler.cs
index 08615879..7f7a3c9a 100644
--- a/v2rayN/ServiceLib/Handler/CoreHandler.cs
+++ b/v2rayN/ServiceLib/Handler/CoreHandler.cs
@@ -141,7 +141,7 @@ namespace ServiceLib.Handler
var coreType = AppHandler.Instance.GetCoreType(node, node.ConfigType);
var coreInfo = CoreInfoHandler.Instance.GetCoreInfo(coreType);
- var proc = await CoreHandler.Instance.RunProcess(coreInfo, fileName, true, false);
+ var proc = await RunProcess(coreInfo, fileName, true, false);
if (proc is null)
{
return -1;
diff --git a/v2rayN/ServiceLib/Models/ConfigItems.cs b/v2rayN/ServiceLib/Models/ConfigItems.cs
index 0a5cf36c..b7fd31fe 100644
--- a/v2rayN/ServiceLib/Models/ConfigItems.cs
+++ b/v2rayN/ServiceLib/Models/ConfigItems.cs
@@ -156,6 +156,7 @@ namespace ServiceLib.Models
public int SpeedTestTimeout { get; set; }
public string SpeedTestUrl { get; set; }
public string SpeedPingTestUrl { get; set; }
+ public int MixedConcurrencyCount { get; set; }
}
[Serializable]
diff --git a/v2rayN/ServiceLib/Resx/ResUI.Designer.cs b/v2rayN/ServiceLib/Resx/ResUI.Designer.cs
index b793d15e..9872f880 100644
--- a/v2rayN/ServiceLib/Resx/ResUI.Designer.cs
+++ b/v2rayN/ServiceLib/Resx/ResUI.Designer.cs
@@ -3220,6 +3220,15 @@ namespace ServiceLib.Resx {
}
}
+ ///
+ /// 查找类似 Number per time for auto batch during speedtest(max 1000) 的本地化字符串。
+ ///
+ public static string TbSettingsMixedConcurrencyCount {
+ get {
+ return ResourceManager.GetString("TbSettingsMixedConcurrencyCount", resourceCulture);
+ }
+ }
+
///
/// 查找类似 sing-box Mux Protocol 的本地化字符串。
///
diff --git a/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx b/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx
index 459abca2..2fbc1581 100644
--- a/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx
+++ b/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx
@@ -1,4 +1,4 @@
-
+