Author: jfrederic.clere(a)jboss.com
Date: 2008-03-19 11:41:20 -0400 (Wed, 19 Mar 2008)
New Revision: 1449
Modified:
sandbox/httpd/src/native/mod_proxy_cluster/mod_proxy_cluster.c
Log:
Remove the by request load balancing.
Modified: sandbox/httpd/src/native/mod_proxy_cluster/mod_proxy_cluster.c
===================================================================
--- sandbox/httpd/src/native/mod_proxy_cluster/mod_proxy_cluster.c 2008-03-19 14:45:04 UTC
(rev 1448)
+++ sandbox/httpd/src/native/mod_proxy_cluster/mod_proxy_cluster.c 2008-03-19 15:41:20 UTC
(rev 1449)
@@ -139,18 +139,6 @@
}
}
-static proxy_worker *find_best_byrequests(proxy_balancer *balancer,
- request_rec *r)
-{
- proxy_worker *mycandidate = NULL;
- /* create workers for new nodes */
- create_workers_node(r);
-
- /* call mod_proxy_balancer method */
- mycandidate = lbrprovider->finder(balancer,r);
- return mycandidate;
-}
-
static proxy_worker *find_best_bytraffic(proxy_balancer *balancer,
request_rec *r)
{
@@ -166,7 +154,6 @@
static int proxy_cluster_pre_config(apr_pool_t *pconf, apr_pool_t *plog,
apr_pool_t *ptemp)
{
- lbrprovider = ap_lookup_provider(PROXY_LBMETHOD, "byrequests",
"0");
lbtprovider = ap_lookup_provider(PROXY_LBMETHOD, "bytraffic",
"0");
return OK;
@@ -185,13 +172,6 @@
return OK;
}
-static const proxy_balancer_method byrequests =
-{
- "byrequests",
- &find_best_byrequests,
- NULL
-};
-
static const proxy_balancer_method bytraffic =
{
"bytraffic",
Show replies by date