You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Jim Jagielski <ji...@hyperreal.com> on 1997/03/16 19:22:01 UTC

cvs commit: apache/src http_main.c

jim         97/03/16 10:22:01

  Modified:    src       http_main.c
  Log:
  Don't count starting child processes as idle, since
  they really aren't
  
  Revision  Changes    Path
  1.130     +1 -2      apache/src/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_main.c,v
  retrieving revision 1.129
  retrieving revision 1.130
  diff -C3 -r1.129 -r1.130
  *** http_main.c	1997/03/15 20:49:09	1.129
  --- http_main.c	1997/03/16 18:21:59	1.130
  ***************
  *** 991,998 ****
        int res = 0;
    
        for (i = 0; i < HARD_SERVER_LIMIT; ++i)
  ! 	if (scoreboard_image->servers[i].status == SERVER_READY
  ! 	  || scoreboard_image->servers[i].status == SERVER_STARTING)
    	    ++res;
    
        return res;
  --- 991,997 ----
        int res = 0;
    
        for (i = 0; i < HARD_SERVER_LIMIT; ++i)
  ! 	if (scoreboard_image->servers[i].status == SERVER_READY)
    	    ++res;
    
        return res;