mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
Increase NAT discovery timeout to 5000ms
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:
1 parent
e7dc0f8a63
commit
727ac79ebc
1 file changed
+1
-1
@@ -111,7 +111,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator.LdnRyu.Proxy
|
|||||||
public async Task<ushort> NatPunch()
|
public async Task<ushort> NatPunch()
|
||||||
{
|
{
|
||||||
NatDiscoverer discoverer = new NatDiscoverer();
|
NatDiscoverer discoverer = new NatDiscoverer();
|
||||||
CancellationTokenSource cts = new CancellationTokenSource(1000);
|
CancellationTokenSource cts = new CancellationTokenSource(5000);
|
||||||
|
|
||||||
NatDevice device;
|
NatDevice device;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user