commit | b9f54c55929eddb6446f8d5c983fb8f1008eb0c6 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Mar 08 17:31:39 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Mar 08 17:31:39 2020 +0100 |
tree | 70c08d43c4c39d31c1e7943867c4ca224bb6b8aa | |
parent | 52bf839394e683eec2fa8aafff5a0dd51d2dd365 [diff] |
MINOR: backend: use a single call to ha_random32() for the random LB algo For the random LB algorithm we need a random 32-bit hashing key that used to be made of two calls to random(). Now we can simply perform a single call to ha_random32() and get rid of the useless operations.