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:
@ -1052,7 +1052,7 @@ serviceSetTimeout(SERVICE *service, int val)
|
||||
* configured with a idle timeout. */
|
||||
if ((service->conn_idle_timeout = val))
|
||||
{
|
||||
enable_session_timeouts();
|
||||
dcb_enable_session_timeouts();
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user