-
Notifications
You must be signed in to change notification settings - Fork 2
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
Change to use a single socket, to avoid fd sockets leaking… #7
Conversation
Something's not right, I'm getting
|
Ok, figured out that I need to use your branch of statsd-ruby. Before we push this as a gem we'll have to address that. |
Aah right, forgot about that.. Wish bundler handled gems from git repos somehow... I see a few ways to work around this issue:
Any preference or alternative ideas? |
As much as I hate forks, it appears that upstream isn't likely to merge your changes. If the amount of functionality provided is as small as I think it is, I'm inclined to go with Option #3. |
I'm not a fan of option 3 due to the duplication and maintenance overhead it creates. Option 1 is not an acceptable solution because it's unnecessarily complicated for the end user. Option 2 would be an acceptable solution, but an upstream merge would be preferable. Have you been able to contact @raggi to push for your PR to be merged/released? It looks like there's some pending changes unreleased upstream for IPv6 support, and your changes would go nicely in a 1.3 release ;) I think if @raggi can be cajoled into getting that situation resolved, that would be the best for everyone, otherwise go ahead and release a gem from your fork. |
For now I've just forked the gem... if my PR ever gets merged, we can update the dependency back to the mainline... |
Change to use a single socket, to avoid fd sockets leaking…
Because
| grep "UDP" | wc -l
should never show numbers in the 1000's, or you're going to have a bad time...