commit | 5dc2fa660c25be38a0eec9e49fea11955465e64b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Nov 19 19:10:18 2007 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Nov 28 14:23:13 2007 +0100 |
tree | 343376dde375906ab26ad62433fd627bf8c3379f | |
parent | 206970449231fd25112d10b11e5fce18f0bdcf14 [diff] |
[MINOR] add a weight divisor to the struct proxy Under some circumstances, it will be useful to be able to have a server's effective weight bigger than the user weight, and this is particularly true for dynamic weight-based algorithms. In order to support this, we add a "wdiv" member to the lbprm structure which will always be used to divide the weights before reporting them.