HomeClusterLabs Projects

Refactor: fencer: Simplify schedule_stonith_command()
b8d2a44e3cd0Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: fencer: Simplify schedule_stonith_command()

And add 1 to the modulus so that we include the full range of
(delay_max - delay_base), not that it really matters. For example, if
delay_max == 5 and delay_base == 2, then we want to add values in
{0, 1, 2, 3} to delay_base -- not to add values only in {0, 1, 2}.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 7 2025, 5:44 PM
Parents
rPbe2776d1abed: Merge pull request #3904 from clumens/no-more-copr
Branches
Unknown
Tags
Unknown

Event Timeline