diff options
Diffstat (limited to 'sql/threadpool_unix.cc')
-rw-r--r-- | sql/threadpool_unix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/threadpool_unix.cc b/sql/threadpool_unix.cc index b9cf4c61b7e..32847e91a32 100644 --- a/sql/threadpool_unix.cc +++ b/sql/threadpool_unix.cc @@ -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); } |