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

SSO v2 updates #457

Merged
merged 12 commits into from
Nov 15, 2024
6 changes: 3 additions & 3 deletions internal/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ func backoffDelay() rehttp.DelayFn {

return func(attempt rehttp.Attempt) time.Duration {
wait := baseDelay * math.Pow(2, float64(attempt.Index))
min := wait + 1
max := wait + baseDelay
wait = PRNG.Float64()*(max-min) + min
minValue := wait + 1
maxValue := wait + baseDelay
wait = PRNG.Float64()*(maxValue-minValue) + minValue

wait = math.Min(wait, maxDelay)
wait = math.Max(wait, minDelay)
Expand Down
130 changes: 130 additions & 0 deletions management/management.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading