Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: reduce refresh clock skew to 10 seconds #581

Merged
merged 1 commit into from
Aug 6, 2020
Merged

Conversation

arithmetic1728
Copy link
Contributor

Reduce clock skew from 5 minutes to 10 seconds, since metadata server token endpoint doesn't generate a new token until 30s before the expiration, it just returns the same token and the corresponding expires_in value. google-auth will keep calling token endpoint for around 4 minutes 30 seconds because of this.

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 6, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants