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

Use goroutine pool in throttleProvider #3013

Merged
merged 1 commit into from
Mar 15, 2018

Conversation

juliens
Copy link
Member

@juliens juliens commented Mar 14, 2018

What does this PR do?

The new goroutine in throttleProviderConfigReload use the same stop channel as the current goroutine.
(it can be a problem because it doesn't block the goroutine cleanup)
It's better to use a new goroutines in the pool.

@traefiker traefiker added this to the 1.5 milestone Mar 14, 2018
@juliens juliens force-pushed the fix-goroutine-problem branch from eef92b5 to e7f1770 Compare March 14, 2018 16:38
Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

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

LGTM 🐔

Copy link
Member

@mmatur mmatur left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM

@traefiker traefiker force-pushed the fix-goroutine-problem branch from e7f1770 to e2f1887 Compare March 15, 2018 09:38
@traefiker traefiker merged commit d88263d into traefik:v1.5 Mar 15, 2018
@juliens juliens deleted the fix-goroutine-problem branch April 18, 2018 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants