Explorar o código

100 connection attempts is not always enough

Alexander Wilms %!s(int64=2) %!d(string=hai) anos
pai
achega
b58cca7770
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/CServerHandler.cpp

+ 1 - 1
client/CServerHandler.cpp

@@ -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
 	{