Merge pull request #69406 from canhld94/parallel_join_limit_threads

Not retaining thread in concurrent hash join threadpool
This commit is contained in:
Nikita Taranov 2024-09-13 09:14:48 +00:00 committed by GitHub
commit f330fdb1bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,7 +85,9 @@ ConcurrentHashJoin::ConcurrentHashJoin(
CurrentMetrics::ConcurrentHashJoinPoolThreads,
CurrentMetrics::ConcurrentHashJoinPoolThreadsActive,
CurrentMetrics::ConcurrentHashJoinPoolThreadsScheduled,
slots))
/*max_threads_*/ slots,
/*max_free_threads_*/ 0,
/*queue_size_*/ slots))
, stats_collecting_params(stats_collecting_params_)
{
hash_joins.resize(slots);