Moved a function around.
This commit is contained in:
@ -432,8 +432,6 @@ int listeners = 0;
|
|||||||
service->stats.started = time(0);
|
service->stats.started = time(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
hktask_add("connection_timeout",session_close_timeouts,NULL,5);
|
|
||||||
|
|
||||||
return listeners;
|
return listeners;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -470,6 +468,11 @@ serviceStartAll()
|
|||||||
SERVICE *ptr;
|
SERVICE *ptr;
|
||||||
int n = 0,i;
|
int n = 0,i;
|
||||||
|
|
||||||
|
|
||||||
|
/** Add the task that monitors session timeouts */
|
||||||
|
|
||||||
|
hktask_add("connection_timeout",session_close_timeouts,NULL,5);
|
||||||
|
|
||||||
ptr = allServices;
|
ptr = allServices;
|
||||||
while (ptr && !ptr->svc_do_shutdown)
|
while (ptr && !ptr->svc_do_shutdown)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user