forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Implement a new set of metrics for ThreadPool to provide deeper insights into the performance and operational aspects, aiding in diagnosing potential slowdowns. - Introduce safety checks in ThreadPoolImpl constructor to ensure thread count parameters are within logical bounds and system limitations. - Establish MAX_THREADS_LIMIT as 32768, in line with standard PID limits on Linux systems, to ensure thread pool sizes adhere to realistic system constraints.
- Loading branch information
Showing
2 changed files
with
77 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters