diff --git a/programs/server/Server.cpp b/programs/server/Server.cpp index 5804d28d337..11b8c2b2540 100644 --- a/programs/server/Server.cpp +++ b/programs/server/Server.cpp @@ -859,6 +859,9 @@ if (ThreadFuzzer::instance().isEffective()) if (config->has("max_partition_size_to_drop")) global_context->setMaxPartitionSizeToDrop(config->getUInt64("max_partition_size_to_drop")); + if (config->has("max_concurrent_queries")) + global_context->getProcessList().setMaxSize(config->getInt("max_concurrent_queries", 0)); + if (!initial_loading) { /// We do not load ZooKeeper configuration on the first config loading