mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MDEV-19313 post-fix
If --thread-pool-dedicated-listener is set, worker should not pick up events. Dedicated listener constantly drains all events, thus polling also from another thread makes no sense.
This commit is contained in:
parent
c9d57c006a
commit
4009e9b253
1 changed files with 1 additions and 1 deletions
|
@ -1214,7 +1214,7 @@ TP_connection_generic *get_event(worker_thread_t *current_thread,
|
|||
non-blocking event poll, i.e with timeout = 0.
|
||||
If this returns events, pick one
|
||||
*/
|
||||
if (!oversubscribed)
|
||||
if (!oversubscribed && !threadpool_dedicated_listener)
|
||||
{
|
||||
native_event ev[MAX_EVENTS];
|
||||
int cnt = io_poll_wait(thread_group->pollfd, ev, MAX_EVENTS, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue