diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-08-19 22:17:01 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-08-20 12:53:53 +0300 |
commit | d5f748c91c650a2ec534c497b9e098ccb317d70b (patch) | |
tree | 34e9b40af5cdc99661eaa9cb70153ee280d4a916 /indra/llmessage/llexperiencecache.cpp | |
parent | 89c373c20b6032bab819e99cc8ace7b7e6b92360 (diff) |
#3223 Trim coroutine queues a little
Diffstat (limited to 'indra/llmessage/llexperiencecache.cpp')
-rw-r--r-- | indra/llmessage/llexperiencecache.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llmessage/llexperiencecache.cpp b/indra/llmessage/llexperiencecache.cpp index 83a070df32..78cca47456 100644 --- a/indra/llmessage/llexperiencecache.cpp +++ b/indra/llmessage/llexperiencecache.cpp @@ -110,7 +110,8 @@ void LLExperienceCache::initSingleton() cache_stream >> (*this); } - LLCoprocedureManager::instance().initializePool("ExpCache"); + constexpr size_t CORO_QUEUE_SIZE = 2048; + LLCoprocedureManager::instance().initializePool("ExpCache", CORO_QUEUE_SIZE); LLCoros::instance().launch("LLExperienceCache::idleCoro", boost::bind(&LLExperienceCache::idleCoro, this)); |