remove reference of Newtonsoft.Json
This commit is contained in:
@@ -4,7 +4,6 @@ using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.NetworkInformation;
|
||||
using System.Threading;
|
||||
using Newtonsoft.Json;
|
||||
using Shadowsocks.Model;
|
||||
|
||||
namespace Shadowsocks.Controller.Strategy
|
||||
@@ -66,7 +65,7 @@ namespace Shadowsocks.Controller.Strategy
|
||||
score += statisticsData.MinResponse*factor;
|
||||
if (!config.Calculations.TryGetValue("MaxResponse", out factor)) factor = 0;
|
||||
score += statisticsData.MaxResponse*factor;
|
||||
Logging.Debug($"{serverName} {JsonConvert.SerializeObject(statisticsData)}");
|
||||
Logging.Debug($"{serverName} {SimpleJson.SimpleJson.SerializeObject(statisticsData)}");
|
||||
return score;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user