Skip to content

Commit bcb5568

Browse files
authored
fix(auth): have refresh time match docs (#10147)
3 mins and 45 seconds == 225 seconds. This error is is harmless but fixing it to make sure comments and documentation reflect reality.
1 parent 194ed46 commit bcb5568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const (
3939

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

4444
universeDomainDefault = "googleapis.com"
4545
)

0 commit comments

Comments
 (0)