Skip to content

Commit

Permalink
Publish gosdk from 3ad939f04d5 (#99)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Feb 4, 2025
1 parent 4594795 commit ed820f5
Show file tree
Hide file tree
Showing 11 changed files with 724 additions and 779 deletions.
9 changes: 9 additions & 0 deletions auth/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ func NewCachedServiceTokener(
) *CachedServiceTokener {
stoppedTicker := time.NewTicker(time.Minute)
stoppedTicker.Stop()
if initialRetry <= 0 {
initialRetry = time.Second
}
if retryMultiplier <= 0 {
retryMultiplier = 1
}
if maxRetry <= 0 {
maxRetry = time.Minute
}
return &CachedServiceTokener{
logger: logger,
tokener: tokener,
Expand Down
48 changes: 36 additions & 12 deletions proto/nebius/iam/v1/group.pb.go

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

154 changes: 103 additions & 51 deletions proto/nebius/iam/v1/group_membership.pb.go

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

Loading

0 comments on commit ed820f5

Please sign in to comment.