class PostHog::BackoffPolicy
def next_interval
-
(Numeric)
- the next backoff interval, in milliseconds.
def next_interval interval = @min_timeout_ms * (@multiplier**@attempts) interval = add_jitter(interval, @randomization_factor) @attempts += 1 [interval, @max_timeout_ms].min end