From c83d00a645a310c48abd454b68402d366773c4d1 Mon Sep 17 00:00:00 2001 From: jackpoz Date: Mon, 18 Apr 2022 11:53:38 +0200 Subject: Core/Metric: Sync default Metric.Interval value Sync default Metric.Interval value in C++ with the value in worldserver.conf --- src/common/Metric/Metric.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/Metric/Metric.cpp b/src/common/Metric/Metric.cpp index 9516db84d48..843f4c16f56 100644 --- a/src/common/Metric/Metric.cpp +++ b/src/common/Metric/Metric.cpp @@ -55,7 +55,7 @@ void Metric::LoadFromConfigs() { bool previousValue = _enabled; _enabled = sConfigMgr->GetBoolDefault("Metric.Enable", false); - _updateInterval = sConfigMgr->GetIntDefault("Metric.Interval", 10); + _updateInterval = sConfigMgr->GetIntDefault("Metric.Interval", 1); if (_updateInterval < 1) { TC_LOG_ERROR("metric", "'Metric.Interval' config set to %d, overriding to 1.", _updateInterval); -- cgit v1.2.3