From 75f3da76e48df79c21e65354768d3f581053127e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 16 Aug 2011 18:20:51 -0400 Subject: s3-prefork: Improve heuristics Signed-off-by: Andreas Schneider Signed-off-by: Simo Sorce --- source3/lib/server_prefork.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/lib/server_prefork.h') diff --git a/source3/lib/server_prefork.h b/source3/lib/server_prefork.h index 334b5813a0..d240641a39 100644 --- a/source3/lib/server_prefork.h +++ b/source3/lib/server_prefork.h @@ -168,14 +168,14 @@ int prefork_add_children(struct tevent_context *ev_ctx, int prefork_retire_children(struct prefork_pool *pfp, int num_children, time_t age_limit); /** -* @brief Count the number of active children +* @brief Count the number of children * * @param pfp The pool. -* @param total Returns the number of children currently alive +* @param active Number of children currently active if not NULL * -* @return The number of children actually serving clients +* @return The total number of children. */ -int prefork_count_active_children(struct prefork_pool *pfp, int *total); +int prefork_count_children(struct prefork_pool *pfp, int *active); /** * @brief Count the number of actual connections currently allowed -- cgit