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

Log ThreadPoolSizes at DEBUG level, not INFO.
meow-7.2.2
Nat Goodspeed 2022-06-09 11:19:21 -04:00
parent 276647789a
commit 1ff79a430d
1 changed files with 2 additions and 3 deletions

View File

@ -91,7 +91,7 @@ void LL::ThreadPool::run()
}
//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") };
// "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)
}
else
{
//LL_DEBUGS
LL_INFOS("ThreadPool") << "ThreadPoolSizes = " << poolSizes << LL_ENDL;
LL_DEBUGS("ThreadPool") << "ThreadPoolSizes = " << poolSizes << LL_ENDL;
}
// LLSD treats an undefined value as an empty map when asked to retrieve a
// key, so we don't need this to be conditional.