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 races #305

Merged
merged 3 commits into from
Apr 15, 2016
Merged

Fix races #305

merged 3 commits into from
Apr 15, 2016

Conversation

emilevauge
Copy link
Member

This PR fixes some races in Traefik.
The Docker provider still needs to be fixed /cc @vdemeester

@emilevauge emilevauge force-pushed the fix-races branch 3 times, most recently from 819c0e2 to 85eff3f Compare April 13, 2016 19:37
Signed-off-by: Emile Vauge <emile@vauge.com>
Signed-off-by: Emile Vauge <emile@vauge.com>
Signed-off-by: Emile Vauge <emile@vauge.com>
}

// Pool creates a pool of go routines
type Pool struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

What about using sync.Pool here ? 👼

Copy link
Member Author

Choose a reason for hiding this comment

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

Because I don't want these objects to be GC ;)

Copy link
Contributor

Choose a reason for hiding this comment

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

hum

@vdemeester
Copy link
Contributor

LGTM 🐯

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.

None yet

3 participants