From fff1049ba0ba1d867c8ec00e6081ff830471dd36 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 2 Oct 2017 09:59:11 +0200 Subject: [PATCH] Ensure that the WorkQueue name is set --- lib/redis/rediswriter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/redis/rediswriter.cpp b/lib/redis/rediswriter.cpp index 70403068b..af3f3e949 100644 --- a/lib/redis/rediswriter.cpp +++ b/lib/redis/rediswriter.cpp @@ -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(); }