commit | 0c4348c982b73fa854de7c8cee5611cbfdd9db3c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Mar 21 09:24:53 2023 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Mar 21 09:26:55 2023 +0100 |
tree | 7e5381eff02d36d48a686f0ee2824d5c0e6bdbab | |
parent | 69869e63545068761e1ebefbc80ec39399ce1104 [diff] |
MINOR: pools: preset the allocation failure rate to 1% with -dMfail Using -dMfail alone does nothing unless tune.fail-alloc is set, which renders it pretty useless as-is, and is not intuitive. Let's change this so that the filure rate is preset to 1% when the option is set on the command line. This allows to inject failures without having to edit the configuration.