diff --git a/lib/icingadb/icingadb-objects.cpp b/lib/icingadb/icingadb-objects.cpp index 9d1405ff8..f9c2623c2 100644 --- a/lib/icingadb/icingadb-objects.cpp +++ b/lib/icingadb/icingadb-objects.cpp @@ -130,7 +130,7 @@ void IcingaDB::UpdateAllConfigObjects() double startTime = Utility::GetTime(); // Use a Workqueue to pack objects in parallel - WorkQueue upq(25000, Configuration::Concurrency); + WorkQueue upq(25000, Configuration::Concurrency, LogNotice); upq.SetName("IcingaDB:ConfigDump"); std::vector types = GetTypes(); @@ -174,7 +174,7 @@ void IcingaDB::UpdateAllConfigObjects() std::vector keys = GetTypeOverwriteKeys(lcType); DeleteKeys(rcon, keys, Prio::Config); - WorkQueue upqObjectType(25000, Configuration::Concurrency); + WorkQueue upqObjectType(25000, Configuration::Concurrency, LogNotice); upqObjectType.SetName("IcingaDB:ConfigDump:" + lcType); std::map redisCheckSums; diff --git a/lib/icingadb/icingadb.hpp b/lib/icingadb/icingadb.hpp index 0ccbdd5b1..964b837b9 100644 --- a/lib/icingadb/icingadb.hpp +++ b/lib/icingadb/icingadb.hpp @@ -154,7 +154,7 @@ private: static std::vector GetTypes(); Timer::Ptr m_StatsTimer; - WorkQueue m_WorkQueue; + WorkQueue m_WorkQueue{0, 1, LogNotice}; String m_PrefixConfigObject; String m_PrefixConfigCheckSum;