httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [patch server/scoreboard.c] creating ws->thread_num
Date Wed, 13 Mar 2002 12:25:05 GMT
Stas Bekman <stas@stason.org> writes:

> I don't think ws->thread_num has anything to do with server_limit. Am
> I wrong?
> 
> Index: server/scoreboard.c
> ===================================================================
> RCS file: /home/cvspublic/httpd-2.0/server/scoreboard.c,v
> retrieving revision 1.60
> diff -u -r1.60 scoreboard.c
> --- server/scoreboard.c	27 Feb 2002 04:10:19 -0000	1.60
> +++ server/scoreboard.c	12 Mar 2002 09:55:52 -0000
> @@ -429,7 +429,7 @@
> 
>       if (status == SERVER_READY
>           && old_status == SERVER_STARTING) {
> -        ws->thread_num = child_num * server_limit + thread_num;
> +        ws->thread_num = child_num * thread_limit + thread_num;

you're right, of course :)

Worker MPM does the calculation the same way.

committed...

Thanks!
-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message