1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

100 connection attempts is not always enough

This commit is contained in:
Alexander Wilms 2023-09-27 19:59:56 +02:00
parent a66d8ecb8f
commit b58cca7770

View File

@ -263,7 +263,7 @@ void CServerHandler::justConnectToServer(const std::string & addr, const ui16 po
if(hostAddress == "127.0.0.1" || hostAddress == "localhost")
{
sleepDuration = boost::chrono::milliseconds(10);
maxConnectionAttempts = 100;
maxConnectionAttempts = 1000;
}
else
{