Ensure that the WorkQueue name is set

This commit is contained in:
Gunnar Beutner 2017-10-02 09:59:11 +02:00 committed by Michael Friedrich
parent b75e21a998
commit fff1049ba0
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ void RedisWriter::Start(bool runtimeCreated)
m_StatsTimer->OnTimerExpired.connect(boost::bind(&RedisWriter::PublishStatsTimerHandler, this));
m_StatsTimer->Start();
m_WorkQueue.SetName("RedisWriter");
boost::thread thread(boost::bind(&RedisWriter::HandleEvents, this));
thread.detach();
}