thread_pool_high_prio_tickets
Support CLI: Yes
Support configuration file: Yes
Support dynamic modification: Yes
Scope: global, session
Parameter type: numeric
Default value: 4294967295
Value range: 0 to 4294967295
This parameter controls the high-priority queue policy. Each new connection is assigned this many tickets to enter the high priority queue. Setting this parameter to 0 disables the high-priority queue. The number of tickets is decremented by 1 each time a connection is put into the high priority queue. If the number of tickets decreases to 0, connections enter the low-priority queue instead. When a connection enters a low-priority queue, the number of tickets held by the connection is reset to the thread_pool_high_prio_tickets preset value of the session of the connection. The goal is to prevent worker threads from being occupied by a large number of high-priority connections for a long time, so that low-priority connections can be processed.