mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
fix(Metric/Misc): Change default updatetime to 1s (#17627)
* Update default metric interval * codestyle * ready for merge --------- Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
@@ -71,7 +71,7 @@ void Metric::LoadFromConfigs()
|
||||
{
|
||||
bool previousValue = _enabled;
|
||||
_enabled = sConfigMgr->GetOption<bool>("Metric.Enable", false);
|
||||
_updateInterval = sConfigMgr->GetOption<int32>("Metric.Interval", 10);
|
||||
_updateInterval = sConfigMgr->GetOption<int32>("Metric.Interval", 1);
|
||||
|
||||
if (_updateInterval < 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user