mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 16:14:09 +02:00
Ensure that the WorkQueue name is set
This commit is contained in:
parent
b75e21a998
commit
fff1049ba0
@ -61,6 +61,8 @@ void RedisWriter::Start(bool runtimeCreated)
|
|||||||
m_StatsTimer->OnTimerExpired.connect(boost::bind(&RedisWriter::PublishStatsTimerHandler, this));
|
m_StatsTimer->OnTimerExpired.connect(boost::bind(&RedisWriter::PublishStatsTimerHandler, this));
|
||||||
m_StatsTimer->Start();
|
m_StatsTimer->Start();
|
||||||
|
|
||||||
|
m_WorkQueue.SetName("RedisWriter");
|
||||||
|
|
||||||
boost::thread thread(boost::bind(&RedisWriter::HandleEvents, this));
|
boost::thread thread(boost::bind(&RedisWriter::HandleEvents, this));
|
||||||
thread.detach();
|
thread.detach();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user