Browse Source

100 connection attempts is not always enough

Alexander Wilms 2 years ago
parent
commit
b58cca7770
1 changed files with 1 additions and 1 deletions
  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
 	{