瀏覽代碼

100 connection attempts is not always enough

Alexander Wilms 2 年之前
父節點
當前提交
b58cca7770
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
 	{