]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: use the lighter PRNG for spread checks
authorWilly Tarreau <w@1wt.eu>
Wed, 12 Oct 2022 19:48:17 +0000 (21:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Oct 2022 19:49:30 +0000 (21:49 +0200)
commita840b4a39b8d6c6c09b8681f61d778f4e00bedca
treed8c2706201efa51decc8ff54d87728d7e57bddd5
parent99521abd59a255538f2f9a64d3379c31aef5a630
MINOR: checks: use the lighter PRNG for spread checks

There's no point using ha_random32() which is heavy and uses shared
variables to calculate a random timer when we have statistical_prng()
which does the same and was made exactly for this.
src/check.c
src/extcheck.c