Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helper: guard against negative inputs into random stagger #14497

Merged
merged 1 commit into from
Sep 8, 2022

Commits on Sep 8, 2022

  1. helper: guard against negative inputs into random stagger

    This PR modifies RandomStagger to protect against negative input
    values. If the given interval is negative, the value returned will
    be somewhere in the stratosphere. Instead, treat negative inputs
    like zero, returning zero.
    shoenig committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    75b30c2 View commit details
    Browse the repository at this point in the history