This commit is contained in:
Kirill 2024-11-13 12:42:45 +03:00 committed by GitHub
parent 468ee6b4c2
commit d1edcfc5cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -239,11 +239,11 @@ void LocalServer::initialize(Poco::Util::Application & self)
0, // We don't need any threads one all the parts will be deleted 0, // We don't need any threads one all the parts will be deleted
cleanup_threads); cleanup_threads);
const size_t drop_tables_threas = server_settings[ServerSetting::database_catalog_drop_table_concurrency]; const size_t drop_tables_threads = server_settings[ServerSetting::database_catalog_drop_table_concurrency];
getDatabaseCatalogDropTablesThreadPool().initialize( getDatabaseCatalogDropTablesThreadPool().initialize(
drop_tables_threas, drop_tables_threads,
0, // We don't need any threads if there are no DROP queries. 0, // We don't need any threads if there are no DROP queries.
drop_tables_threas); drop_tables_threads);
const size_t freeze_threads = server_settings[ServerSetting::max_freeze_parts_thread_pool_size]; const size_t freeze_threads = server_settings[ServerSetting::max_freeze_parts_thread_pool_size];
getFreezePartThreadPool().initialize( getFreezePartThreadPool().initialize(