chore(Core/Conf): Change default of RecordUpdateTimeDiffInterval (#4033)

This commit is contained in:
Kitzunu
2020-12-28 21:20:28 +01:00
committed by GitHub
parent 009b52808d
commit 9b6da06a2e
2 changed files with 4 additions and 4 deletions

View File

@@ -1289,7 +1289,7 @@ void World::LoadConfigSettings(bool reload)
m_bool_configs[CONFIG_SHOW_KICK_IN_WORLD] = sConfigMgr->GetBoolDefault("ShowKickInWorld", false);
m_bool_configs[CONFIG_SHOW_MUTE_IN_WORLD] = sConfigMgr->GetBoolDefault("ShowMuteInWorld", false);
m_bool_configs[CONFIG_SHOW_BAN_IN_WORLD] = sConfigMgr->GetBoolDefault("ShowBanInWorld", false);
m_int_configs[CONFIG_INTERVAL_LOG_UPDATE] = sConfigMgr->GetIntDefault("RecordUpdateTimeDiffInterval", 60000);
m_int_configs[CONFIG_INTERVAL_LOG_UPDATE] = sConfigMgr->GetIntDefault("RecordUpdateTimeDiffInterval", 300000);
m_int_configs[CONFIG_MIN_LOG_UPDATE] = sConfigMgr->GetIntDefault("MinRecordUpdateTimeDiff", 100);
m_int_configs[CONFIG_NUMTHREADS] = sConfigMgr->GetIntDefault("MapUpdate.Threads", 1);
m_int_configs[CONFIG_MAX_RESULTS_LOOKUP_COMMANDS] = sConfigMgr->GetIntDefault("Command.LookupMaxResults", 0);

View File

@@ -3333,10 +3333,10 @@ ShowBanInWorld = 0
# Description: Time (in milliseconds) update time diff is written to the log file.
# Update diff can be used as a performance indicator. Diff < 300: good
# performance. Diff > 600 bad performance, may be caused by high CPU usage.
# Default: 60000 - (Enabled, 1 minute)
# 0 - (Disabled)
# Default: 300000 - (Enabled, 5 minutes)
# 0 - (Disabled)
RecordUpdateTimeDiffInterval = 60000
RecordUpdateTimeDiffInterval = 300000
#
# MinRecordUpdateTimeDiff