Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.
/ KyberBrowser Public archive

Commit

Permalink
increase ping timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Dyvinia committed Aug 28, 2023
1 parent e6f91ba commit 91b1fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public static async void GetProxies() {
ProxyData[] proxies = JsonSerializer.Deserialize<ProxyData[]>(await HttpClient.GetStringAsync("https://kyber.gg/api/proxies"));

Parallel.ForEach(proxies, proxy => {
PingReply ping = new Ping().Send(proxy.IP, 1000);
PingReply ping = new Ping().Send(proxy.IP, 1500);

if (ping.Status == IPStatus.Success) {
proxy.Ping = ping.RoundtripTime / 2;
Expand Down

0 comments on commit 91b1fc4

Please sign in to comment.