BUG/MINOR: stats: correctly report throttle rate of low weight servers
authorWilly Tarreau <w@1wt.eu>
Mon, 16 Dec 2013 17:04:57 +0000 (18:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 16 Dec 2013 17:04:57 +0000 (18:04 +0100)
commite38feed966070142e1fd5d3033c9e999a9ffe83c
tree4828fcfcea73d2b5ed0a35c7e7d9b60892f69c28
parentb169eba58dea10b6e25f4ab2c5418c7fa47ca213
BUG/MINOR: stats: correctly report throttle rate of low weight servers

The throttling of low weight servers (<16) could mistakenly be reported
as > 100% due to a rounding that was performed before a multiply by 100
instead of after. This was introduced in 1.5-dev20 when fixing a previous
reporting issue by commit d32c399 (MINOR: stats: report correct throttling
percentage for servers in slowstart).

It should be backported if the patch above is backported.
include/proto/server.h