httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_balancer.c
Date Tue, 24 Aug 2004 12:10:37 GMT
mturk       2004/08/24 05:10:37

  Modified:    modules/proxy proxy_balancer.c
  Log:
  Increase the request count for each runtime worker
  when the worker is elected.
  
  Revision  Changes    Path
  1.10      +2 -0      httpd-2.0/modules/proxy/proxy_balancer.c
  
  Index: proxy_balancer.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_balancer.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- proxy_balancer.c	24 Aug 2004 11:27:31 -0000	1.9
  +++ proxy_balancer.c	24 Aug 2004 12:10:37 -0000	1.10
  @@ -288,6 +288,7 @@
           int i;
           proxy_runtime_worker *workers;
           /* We have a sticky load balancer */
  +        runtime->s->elected++;
           *worker = runtime->w;
           /* Update the workers status 
            * so that even session routes get
  @@ -320,6 +321,7 @@
               PROXY_BALANCER_UNLOCK(*balancer);
               return HTTP_SERVICE_UNAVAILABLE;
           }
  +        runtime->s->elected++;
           *worker = runtime->w;
       }
       /* Decrease the free channels number */
  
  
  

Mime
View raw message