Increase NAT discovery timeout to 5000ms

1000ms was too fast on some slower networks. It would lead to an early cancelation before device could be found.
This commit is contained in:
kruumy 2025-01-26 20:26:46 -05:00
parent f3942968f9
commit ec41b58cf1

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;