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 goroutines leakage when flushing hystrix configuration #64

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

MartinGaoR
Copy link

Bug Description:

Flushing hystrix configuration will neither close the existing metric updates channel nor reusing the existing the channel when re-creating the new metricsExchange and pool metrics.

As such, it would cause a go-routines leakage that all old metrics updates channel are waiting for non-existing new items to increase the deleted metrics.

As a result, it would be better to close the updates channel when flushing the hystrix configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants