Skip to content

Commit

Permalink
fix(auth): have refresh time match docs (#10147)
Browse files Browse the repository at this point in the history
3 mins and 45 seconds == 225 seconds.

This error is is harmless but fixing it to make sure comments and
documentation reflect reality.
  • Loading branch information
clundin25 authored May 10, 2024
1 parent 194ed46 commit bcb5568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const (

// 3 minutes and 45 seconds before expiration. The shortest MDS cache is 4 minutes,
// so we give it 15 seconds to refresh it's cache before attempting to refresh a token.
defaultExpiryDelta = 215 * time.Second
defaultExpiryDelta = 225 * time.Second

universeDomainDefault = "googleapis.com"
)
Expand Down

0 comments on commit bcb5568

Please sign in to comment.