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