mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
[Fix] Prevent zone from loading ETL ID's on bootup (#4696)
This commit is contained in:
parent
6f390c81f9
commit
9fd935ef10
@ -81,14 +81,13 @@ void PlayerEventLogs::Init()
|
|||||||
if (!settings_to_insert.empty()) {
|
if (!settings_to_insert.empty()) {
|
||||||
PlayerEventLogSettingsRepository::ReplaceMany(*m_database, settings_to_insert);
|
PlayerEventLogSettingsRepository::ReplaceMany(*m_database, settings_to_insert);
|
||||||
}
|
}
|
||||||
|
|
||||||
LoadEtlIds();
|
|
||||||
|
|
||||||
bool processing_in_world = !RuleB(Logging, PlayerEventsQSProcess) && IsWorld();
|
bool processing_in_world = !RuleB(Logging, PlayerEventsQSProcess) && IsWorld();
|
||||||
bool processing_in_qs = RuleB(Logging, PlayerEventsQSProcess) && IsQueryServ();
|
bool processing_in_qs = RuleB(Logging, PlayerEventsQSProcess) && IsQueryServ();
|
||||||
|
|
||||||
// on initial boot process truncation
|
// on initial boot process truncation
|
||||||
if (processing_in_world || processing_in_qs) {
|
if (processing_in_world || processing_in_qs) {
|
||||||
|
LoadEtlIds();
|
||||||
ProcessRetentionTruncation();
|
ProcessRetentionTruncation();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user