mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Add in a weighted byte count of all traffic (in and out) as
an alternative balancing method. We do not "adjust" the byte count wrt scheme or method, simply by factoring in the lbfactor value. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@126304 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1164,6 +1164,7 @@ PROXY_DECLARE(const char *) ap_proxy_add_balancer(proxy_balancer **balancer,
|
||||
memset(*balancer, 0, sizeof(proxy_balancer));
|
||||
|
||||
(*balancer)->name = uri;
|
||||
(*balancer)->lbmethod = lbmethod_requests;
|
||||
(*balancer)->workers = apr_array_make(p, 5, sizeof(proxy_worker));
|
||||
/* XXX Is this a right place to create mutex */
|
||||
#if APR_HAS_THREADS
|
||||
|
Reference in New Issue
Block a user