mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
LP909537: Ensure thd_wait_begin/thd_wait_end callbacks are called.
This commit is contained in:
@@ -845,7 +845,7 @@ static void post_event(thread_group_t *thread_group, pool_event_t* ev)
|
||||
*/
|
||||
static bool too_many_threads(thread_group_t *thread_group)
|
||||
{
|
||||
return (thread_group->active_thread_count > 4 && !thread_group->stalled);
|
||||
return (thread_group->active_thread_count >= 4 && !thread_group->stalled);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user