Skip to content
Snippets Groups Projects
Commit 1ff79a43 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

SL-17483: Fix ThreadPool::getConfiguredWidth() compile error.

Log ThreadPoolSizes at DEBUG level, not INFO.
parent 27664778
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -91,7 +91,7 @@ void LL::ThreadPool::run() ...@@ -91,7 +91,7 @@ void LL::ThreadPool::run()
} }
//static //static
size_t LL::ThreadPool::getConfiguredWidth(const std::string& name, size_t dft=0) size_t LL::ThreadPool::getConfiguredWidth(const std::string& name, size_t dft)
{ {
LLSD poolSizes{ LL::CommonControl::get("Global", "ThreadPoolSizes") }; LLSD poolSizes{ LL::CommonControl::get("Global", "ThreadPoolSizes") };
// "ThreadPoolSizes" is actually a map containing the sizes of interest -- // "ThreadPoolSizes" is actually a map containing the sizes of interest --
...@@ -112,8 +112,7 @@ size_t LL::ThreadPool::getConfiguredWidth(const std::string& name, size_t dft=0) ...@@ -112,8 +112,7 @@ size_t LL::ThreadPool::getConfiguredWidth(const std::string& name, size_t dft=0)
} }
else else
{ {
//LL_DEBUGS LL_DEBUGS("ThreadPool") << "ThreadPoolSizes = " << poolSizes << LL_ENDL;
LL_INFOS("ThreadPool") << "ThreadPoolSizes = " << poolSizes << LL_ENDL;
} }
// LLSD treats an undefined value as an empty map when asked to retrieve a // LLSD treats an undefined value as an empty map when asked to retrieve a
// key, so we don't need this to be conditional. // key, so we don't need this to be conditional.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment