Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

advancedtls: Get Instant Updates Before Ticker Runs #3959

Merged
merged 2 commits into from Oct 15, 2020

Conversation

ZhenLian
Copy link
Contributor

@ZhenLian ZhenLian commented Oct 15, 2020

This is to fix a bug in advancedtls that the credential updates won't get updated immediately when the application starts. Under current implementation, once the user set the polling interval, it will wait that amount of time and then begin the first loading. It will cause problems if the client rpc context duration is shorter than the polling interval.
This PR is to fix this problem.

@ZhenLian
Copy link
Contributor Author

@easwars Could you please take a look? Thank you so much!

security/advancedtls/pemfile_provider.go Outdated Show resolved Hide resolved
@ZhenLian ZhenLian requested a review from easwars October 15, 2020 18:43
@ZhenLian
Copy link
Contributor Author

Thanks for the prompt review!

@ZhenLian ZhenLian merged commit c6cfaba into grpc:master Oct 15, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants