Skip to content
Draft
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 @@ -2253,7 +2253,7 @@ static proxy_worker *get_http_worker(server_rec *s, proxy_worker *ws_worker)
* 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 in [1, 100] : a load factor
* load = 0 : standby worker.
* load = -1 : errored worker.
* load = -2 : just do a cping/cpong.
Expand Down Expand Up @@ -2345,7 +2345,7 @@ static int proxy_node_isup(request_rec *r, int id, int load)
http_worker->s->lbfactor = 0;
}
}
else {
else if (load >= 1 && load <= 100) {
apr_time_t now = apr_time_now();
worker->s->status &= ~PROXY_WORKER_IN_ERROR;
worker->s->status &= ~PROXY_WORKER_STOPPED;
Expand Down
Loading