mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
chore(Core/Auth): align mysql ping log level and name to worldserver (#21986)
This commit is contained in:
@@ -246,7 +246,7 @@ void KeepDatabaseAliveHandler(std::weak_ptr<boost::asio::steady_timer> dbPingTim
|
|||||||
{
|
{
|
||||||
if (std::shared_ptr<boost::asio::steady_timer> dbPingTimer = dbPingTimerRef.lock())
|
if (std::shared_ptr<boost::asio::steady_timer> dbPingTimer = dbPingTimerRef.lock())
|
||||||
{
|
{
|
||||||
LOG_INFO("server.authserver", "Ping MySQL to keep connection alive");
|
LOG_DEBUG("sql.driver", "Ping MySQL to keep connection alive");
|
||||||
LoginDatabase.KeepAlive();
|
LoginDatabase.KeepAlive();
|
||||||
|
|
||||||
dbPingTimer->expires_at(Acore::Asio::SteadyTimer::GetExpirationTime(dbPingInterval));
|
dbPingTimer->expires_at(Acore::Asio::SteadyTimer::GetExpirationTime(dbPingInterval));
|
||||||
|
|||||||
Reference in New Issue
Block a user