Merge pull request #73268 from ClickHouse/kssenii-patch-13

Cleanup
This commit is contained in:
Kseniia Sumarokova 2024-12-13 19:40:15 +00:00 committed by GitHub
commit ec1540a4d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,14 +32,14 @@ std::unique_ptr<IAsynchronousReader> createThreadPoolReader(
{
case FilesystemReaderType::ASYNCHRONOUS_REMOTE_FS_READER:
{
auto pool_size = config.getUInt(".threadpool_remote_fs_reader_pool_size", 250);
auto queue_size = config.getUInt(".threadpool_remote_fs_reader_queue_size", 1000000);
auto pool_size = config.getUInt("threadpool_remote_fs_reader_pool_size", 250);
auto queue_size = config.getUInt("threadpool_remote_fs_reader_queue_size", 1000000);
return std::make_unique<ThreadPoolRemoteFSReader>(pool_size, queue_size);
}
case FilesystemReaderType::ASYNCHRONOUS_LOCAL_FS_READER:
{
auto pool_size = config.getUInt(".threadpool_local_fs_reader_pool_size", 100);
auto queue_size = config.getUInt(".threadpool_local_fs_reader_queue_size", 1000000);
auto pool_size = config.getUInt("threadpool_local_fs_reader_pool_size", 100);
auto queue_size = config.getUInt("threadpool_local_fs_reader_queue_size", 1000000);
return std::make_unique<ThreadPoolReader>(pool_size, queue_size);
}
case FilesystemReaderType::SYNCHRONOUS_LOCAL_FS_READER: