Skip to content

Commit f25176b

Browse files
committed
PS-9612: Percona Server build fails on 128+ threads machines
Change `MAX_THREAD_GROUPS` from 128 to 1024 to support recent CPUs in thread pool.
1 parent f01c613 commit f25176b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/threadpool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
struct SHOW_VAR;
2424

25-
#define MAX_THREAD_GROUPS 128
25+
#define MAX_THREAD_GROUPS 1024
2626

2727
enum tp_high_prio_mode_t {
2828
TP_HIGH_PRIO_MODE_TRANSACTIONS,

0 commit comments

Comments
 (0)