summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2022-06-09 11:19:21 -0400
committerNat Goodspeed <nat@lindenlab.com>2022-06-09 11:19:21 -0400
commit1ff79a430d9d55cbb4b4ba55018c791a8a933916 (patch)
tree3b06f4f10db0e6b38765060f7fc9f4805ab2ae53 /indra
parent276647789a7080c0d44ec8e4375daf0f42b73f17 (diff)
SL-17483: Fix ThreadPool::getConfiguredWidth() compile error.
Log ThreadPoolSizes at DEBUG level, not INFO.
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/threadpool.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/llcommon/threadpool.cpp b/indra/llcommon/threadpool.cpp
index 10d67abf37..e8daf549ef 100644
--- a/indra/llcommon/threadpool.cpp
+++ b/indra/llcommon/threadpool.cpp
@@ -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.