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:
Markus Makela
2016-11-20 10:34:37 +02:00
parent 30927455ef
commit 5067f3594a
6 changed files with 47 additions and 66 deletions

View File

@ -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;