Skip to content

Commit

Permalink
SSO v2 updates (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
duedares-rvj authored Nov 15, 2024
2 parents 1d32c21 + 8fd2a07 commit aeec572
Show file tree
Hide file tree
Showing 12 changed files with 687 additions and 115 deletions.
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

0 comments on commit aeec572

Please sign in to comment.