mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-02 21:12:09 +00:00
Bug fix
This commit is contained in:
parent
5efb784115
commit
160d3843a6
2 changed files with 2 additions and 2 deletions
|
@ -297,7 +297,7 @@ namespace v2rayN.Handler
|
|||
});
|
||||
await client.GetAsync(url, cts.Token);
|
||||
|
||||
responseTime = timer.Elapsed.Milliseconds;
|
||||
responseTime = (int)timer.Elapsed.TotalMilliseconds;
|
||||
}
|
||||
catch //(Exception ex)
|
||||
{
|
||||
|
|
|
@ -389,7 +389,7 @@ namespace v2rayN.Handler
|
|||
clientSocket.EndConnect(result);
|
||||
|
||||
timer.Stop();
|
||||
responseTime = timer.Elapsed.Milliseconds;
|
||||
responseTime = (int)timer.Elapsed.TotalMilliseconds;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue