]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] fix backend's weight in the stats page.
authorWilly Tarreau <w@1wt.eu>
Tue, 24 Jul 2007 22:28:06 +0000 (00:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 24 Jul 2007 22:28:06 +0000 (00:28 +0200)
commit7d412265cd9a712846a14d1980d82ad88d18d7e9
tree93e3eb959cc3eb81e761d771dd4b26f5eff254b4
parent629db50da4c29d5f0c28482404cc8b42648aea4b
[MINOR] fix backend's weight in the stats page.

The GCD used when computing the servers' weights causes the total
weight of the backend to appear lower than expected because it is
divided by the GCD. Easy solution consists in recomputing the GCD
from the first server and apply it to the global weight.
src/proto_http.c