increase timeout after connection for getting info about routes

This commit is contained in:
Fedotov Anton 2021-12-02 22:58:44 +03:00
parent 3dd207a3a1
commit 5245fe103c
3 changed files with 3 additions and 3 deletions

View file

@ -250,7 +250,7 @@ void OpenVpnProtocol::onReadyReadDataFromManagementServer()
stopTimeoutTimer();
setConnectionState(VpnProtocol::Connected);
{
std::this_thread::sleep_for(std::chrono::seconds(3));
std::this_thread::sleep_for(std::chrono::seconds(4));
std::string p1,p2,p3;
const auto &ret = adpInfo.get_adapter_info("TAP-Windows Adapter V9");
if (std::get<0>(ret) == false){