Function refreshBucketsDelayJitter

  • This generates a random delay based on the given delay and jitter multiplier. For example, a delay of 100 and multiplier of 0.5 would result in a delay randomly between 50 and 150.

    Parameters

    • delay: number

      base delay to 'jitter' around

    • jitterMultiplier: number

      jitter amount as a multiple of the delay

    Returns number

Generated using TypeDoc