Increase NAT discovery timeout to 5000ms (#589)
Some checks failed
Canary release job / Create tag (push) Has been cancelled
Canary release job / Release for linux-arm64 (push) Has been cancelled
Canary release job / Release for linux-x64 (push) Has been cancelled
Canary release job / Release for win-x64 (push) Has been cancelled
Canary release job / Release MacOS universal (push) Has been cancelled

1000ms was too fast on some slower networks. It would lead to an early
cancellation before device could be found.
This commit is contained in:
Josh 2025-01-26 20:40:10 -05:00 committed by GitHub
parent f3942968f9
commit 31de0bf8c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -113,7 +113,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator.LdnRyu.Proxy
public async Task<ushort> NatPunch()
{
NatDiscoverer discoverer = new();
CancellationTokenSource cts = new(1000);
CancellationTokenSource cts = new(5000);
NatDevice device;