httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject [patch server/scoreboard.c] creating ws->thread_num
Date Tue, 12 Mar 2002 09:59:14 GMT
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;
          ps->generation = ap_my_generation;
      }

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Mime
View raw message