Core/Authserver: Partial port of 56cf7ff2a8

Change the "UpdateIfNeed" logic to a deadline_timer
This commit is contained in:
DDuarte committed 2016-03-06 19:46:59 +00:00
1 parent 2ea31027e5
commit 6cd63ca3d4
4 files changed
+26 -29

No files matched your search

@@ -880,9 +880,6 @@ void AuthSession::RealmListCallback(PreparedQueryResult result)
} while (result->NextRow());
}
// Update realm list if need
sRealmList->UpdateIfNeed();
// Circle through realms in the RealmList and construct the return packet (including # of user characters in each realm)
ByteBuffer pkt;