Skip to content

Commit

Permalink
v2.0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nobody committed Sep 5, 2024
1 parent b708df8 commit 97d799f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion V2RayGCon/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.0.8")]
[assembly: AssemblyVersion("2.0.1.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

/*
--------------------------------------------------------------------
v2.0.0.8 Left click to select search tooltips.
v2.0.0.7 Use AutocompleteMenu to show tooltips.
v2.0.0.6 Support quoted spaces in advance search parameters.
Expand Down
6 changes: 3 additions & 3 deletions V2RayGCon/Services/ConfigMgr.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public sealed class ConfigMgr

static readonly long TIMEOUT = Core.SpeedtestTimeout;

readonly ConcurrentQueue<VgcApis.Interfaces.ICoreServCtrl> coreServs =
readonly ConcurrentQueue<VgcApis.Interfaces.ICoreServCtrl> latencyTestingQueue =
new ConcurrentQueue<VgcApis.Interfaces.ICoreServCtrl>();

ConfigMgr() { }
Expand Down Expand Up @@ -124,7 +124,7 @@ public long RunSpeedTest(string rawConfig)

public void AddToSpeedTestQueue(VgcApis.Interfaces.ICoreServCtrl coreServ)
{
coreServs.Enqueue(coreServ);
latencyTestingQueue.Enqueue(coreServ);
Interlocked.Increment(ref setting.SpeedtestCounter);
WakeupLatencyTester();
}
Expand Down Expand Up @@ -400,7 +400,7 @@ void WakeupLatencyTester()
return;
}

if (coreServs.Count > 0 && coreServs.TryDequeue(out var coreServ))
if (latencyTestingQueue.Count > 0 && latencyTestingQueue.TryDequeue(out var coreServ))
{
if (coreServ != null)
{
Expand Down

0 comments on commit 97d799f

Please sign in to comment.