[Server] Tweak inter process keepalive timers; this is a very tiny overhead for inter-process chatter to check for connection liveness (#1502)

This commit is contained in:
Chris Miles
2021-08-31 00:34:28 -05:00
committed by GitHub
parent 06890f695a
commit 3b01608a71
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ void WorldServer::Connect()
m_connection->OnMessage(std::bind(&WorldServer::HandleMessage, this, std::placeholders::_1, std::placeholders::_2));
m_keepalive = std::make_unique<EQ::Timer>(2500, true, std::bind(&WorldServer::OnKeepAlive, this, std::placeholders::_1));
m_keepalive = std::make_unique<EQ::Timer>(1000, true, std::bind(&WorldServer::OnKeepAlive, this, std::placeholders::_1));
}
bool WorldServer::SendPacket(ServerPacket *pack)