commit | b698f0f4a2a0a182dd4ca647d82f08379bd95b7e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Dec 02 11:01:23 2007 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Dec 02 11:01:23 2007 +0100 |
tree | 6a30b98626a9789c61c9f6c277e9a4cb3c195067 | |
parent | d1cd2764563dabb1e71cfce88b553f79fd16e76d [diff] |
[CLEANUP] fwrr: ensure that we never overflow in placements Now we can compute the max place depending on the number of servers, maximum weight and weight scale. The formula has been stored as a comment so that it's easy to choose between smooth weight ramp up and high number of servers. The default scale has been set to 16, which permits 4000 servers with a granularity of 6% in the worst case (weight=1).