Browse Source

Use id instead of calculating server.Identifier()

tags/4.1.9.0
Damir Ainullin 5 years ago
parent
commit
48a35d552b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      shadowsocks-csharp/Controller/Strategy/StatisticsStrategy.cs

+ 1
- 1
shadowsocks-csharp/Controller/Strategy/StatisticsStrategy.cs View File

@@ -89,7 +89,7 @@ namespace Shadowsocks.Controller.Strategy
var serversWithStatistics = (from server in servers
let id = server.Identifier()
where _filteredStatistics.ContainsKey(id)
let score = GetScore(server.Identifier(), _filteredStatistics[server.Identifier()])
let score = GetScore(id, _filteredStatistics[id])
where score != null
select new
{


Loading…
Cancel
Save