Răsfoiți Sursa

100 connection attempts is not always enough

Alexander Wilms 2 ani în urmă
părinte
comite
b58cca7770
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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
 	{