mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-27 12:22:45 +02:00
100 connection attempts is not always enough
This commit is contained in:
parent
a66d8ecb8f
commit
b58cca7770
@ -263,7 +263,7 @@ void CServerHandler::justConnectToServer(const std::string & addr, const ui16 po
|
|||||||
if(hostAddress == "127.0.0.1" || hostAddress == "localhost")
|
if(hostAddress == "127.0.0.1" || hostAddress == "localhost")
|
||||||
{
|
{
|
||||||
sleepDuration = boost::chrono::milliseconds(10);
|
sleepDuration = boost::chrono::milliseconds(10);
|
||||||
maxConnectionAttempts = 100;
|
maxConnectionAttempts = 1000;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user