mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
Fix Xray connection timeout for Windows
This commit is contained in:
2
client/protocols/xrayprotocol.cpp
Normal file → Executable file
2
client/protocols/xrayprotocol.cpp
Normal file → Executable file
@@ -146,7 +146,7 @@ ErrorCode XrayProtocol::startTun2Sock()
|
||||
IpcClient::Interface()->updateResolvers("utun22", dnsAddr);
|
||||
#endif
|
||||
#ifdef Q_OS_WINDOWS
|
||||
QThread::msleep(15000);
|
||||
QThread::msleep(7000);
|
||||
#endif
|
||||
#ifdef Q_OS_LINUX
|
||||
QThread::msleep(1000);
|
||||
|
||||
Reference in New Issue
Block a user