pull/5377/head
2dust 2024-07-05 15:28:28 +08:00
parent 5efb784115
commit 160d3843a6
2 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ namespace v2rayN.Handler
}); });
await client.GetAsync(url, cts.Token); await client.GetAsync(url, cts.Token);
responseTime = timer.Elapsed.Milliseconds; responseTime = (int)timer.Elapsed.TotalMilliseconds;
} }
catch //(Exception ex) catch //(Exception ex)
{ {

View File

@ -389,7 +389,7 @@ namespace v2rayN.Handler
clientSocket.EndConnect(result); clientSocket.EndConnect(result);
timer.Stop(); timer.Stop();
responseTime = timer.Elapsed.Milliseconds; responseTime = (int)timer.Elapsed.TotalMilliseconds;
} }
catch (Exception ex) catch (Exception ex)
{ {