RedisWriter: Heartbeat should occur every second

This commit is contained in:
Noah Hilverling 2019-05-13 11:37:54 +02:00 committed by Michael Friedrich
parent f601ba51e0
commit c5b0884e44
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ void RedisWriter::Start(bool runtimeCreated)
m_SubscriptionTimer->Start();
m_StatsTimer = new Timer();
m_StatsTimer->SetInterval(10);
m_StatsTimer->SetInterval(1);
m_StatsTimer->OnTimerExpired.connect(std::bind(&RedisWriter::PublishStatsTimerHandler, this));
m_StatsTimer->Start();