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

fix bug of creating refreshing tasks accumulatively when refresh context #16143

Merged
merged 2 commits into from
Oct 12, 2020

Conversation

yiliuTo
Copy link
Member

@yiliuTo yiliuTo commented Oct 10, 2020

Fix bug #14879 of the keyvault refreshing task accumulates when spring context refreshes.

Modify Timer object as class static variable and cancel previous tasks before scheduling to avoid timers being created multiple times when spring context refreshes.

Copy link

@chenrujun chenrujun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure-spring All azure-spring related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants