Adapt session timeout checks to a per thread model
Each thread will now check their own list of DCBs for timed out sessions.
This commit is contained in:
@ -752,10 +752,7 @@ poll_waitevents(void *arg)
|
||||
MXS_FREE(tmp);
|
||||
}
|
||||
|
||||
if (check_timeouts && hkheartbeat >= next_timeout_check)
|
||||
{
|
||||
process_idle_sessions();
|
||||
}
|
||||
dcb_process_idle_sessions(thread_id);
|
||||
|
||||
if (thread_data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user