Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions native/mod_proxy_cluster/mod_proxy_cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,7 @@ static proxy_worker *internal_find_best_byrequests(const proxy_balancer *balance
* Check that we could connect to the node and create corresponding balancers and workers.
* id : worker id
* load : load factor from the cluster manager.
* load > 0 : a load factor.
* load between 1 and 100: a load factor.
* load = 0 : standby worker.
* load = -1 : errored worker.
* load = -2 : just do a cping/cpong.
Expand Down Expand Up @@ -1923,7 +1923,7 @@ static int proxy_node_isup(request_rec *r, int id, int load)
} else if (load == 0) {
worker->s->status |= PROXY_WORKER_HOT_STANDBY;
worker->s->lbfactor = 0;
} else {
} else if (load >= 1 && load <= 100) {
worker->s->status &= ~PROXY_WORKER_IN_ERROR;
worker->s->status &= ~PROXY_WORKER_STOPPED;
worker->s->status &= ~PROXY_WORKER_DISABLED;
Expand Down