mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-25 15:51:24 +02:00
[CLEANUP] config: remove some left-over printf debugging code from previous patch
Last patch fbb784 unexpectedly left some debugging printf messages which can be seen in debug mode.
This commit is contained in:
parent
fbb78421d4
commit
ab1a3e97a4
@ -6523,13 +6523,10 @@ out_uri_auth_compat:
|
|||||||
/* now we've checked all possible ways to reference a backend
|
/* now we've checked all possible ways to reference a backend
|
||||||
* from a frontend.
|
* from a frontend.
|
||||||
*/
|
*/
|
||||||
printf("%s checking %s : found=%d\n", curproxy->id, fe->id, found);
|
|
||||||
if (!found)
|
if (!found)
|
||||||
continue;
|
continue;
|
||||||
total += fe->maxconn;
|
total += fe->maxconn;
|
||||||
printf("px %s adds %d to %s\n", fe->id, fe->maxconn, curproxy->id);
|
|
||||||
}
|
}
|
||||||
printf("%s: total=%d\n", curproxy->id, total);
|
|
||||||
/* we have the sum of the maxconns in <total>. We only
|
/* we have the sum of the maxconns in <total>. We only
|
||||||
* keep 10% of that sum to set the default fullconn, with
|
* keep 10% of that sum to set the default fullconn, with
|
||||||
* a hard minimum of 1 (to avoid a divide by zero).
|
* a hard minimum of 1 (to avoid a divide by zero).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user