mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
connection: Remove unused timeout feature
Was only used for a unit test and incorrectly at that.
This commit is contained in:
@@ -398,8 +398,6 @@ void Client::connect(const Address &address, const std::string &address_name,
|
||||
address.print(infostream);
|
||||
infostream << std::endl;
|
||||
|
||||
// Since we use TryReceive() a timeout here would be ineffective anyway
|
||||
m_con->SetTimeoutMs(0);
|
||||
m_con->Connect(address);
|
||||
|
||||
initLocalMapSaving(address, m_address_name, is_local_server);
|
||||
|
Reference in New Issue
Block a user