You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-08 03:42:19 +03:00
MCOL-3983: always set threadpool max threads in storagemanager (#2269)
This commit is contained in:
@@ -884,7 +884,11 @@ void Synchronizer::configListener()
|
||||
// Uploader threads
|
||||
string stmp = Config::get()->getValue("ObjectStorage", "max_concurrent_uploads");
|
||||
if (maxUploads == 0)
|
||||
{
|
||||
maxUploads = 20;
|
||||
threadPool->setMaxThreads(maxUploads);
|
||||
logger->log(LOG_INFO, "max_concurrent_uploads = %u",maxUploads);
|
||||
}
|
||||
if (stmp.empty())
|
||||
{
|
||||
logger->log(LOG_CRIT, "max_concurrent_uploads is not set. Using current value = %u", maxUploads);
|
||||
|
||||
Reference in New Issue
Block a user