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

Brain dump of changes to lib/statsd.js. #1

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

Brain dump of changes to lib/statsd.js. #1

wants to merge 18 commits into from

Conversation

dhermes
Copy link
Owner

@dhermes dhermes commented Sep 25, 2020

No description provided.

Danny Hermes added 17 commits September 28, 2020 09:40
…` in constructor.

Also using these in places where `options` was used.
This way we can retry using this helper.
This is in advance of a change that will allow these to be OS specific.
See https://nodejs.org/docs/latest-v12.x/api/errors.html
for an example (in `error.errno`) explaining why error codes are
negative.
This way `this.socket` is only replaced if `createTransport()`
returned an actual socket (vs. `null`).
See: https://travis-ci.org/github/brightcove/hot-shots/jobs/730354851

This was due to `eslint` failures. Also changed some `==` to `===`
and added / removed some `;` in lines that needed / didn't need.
This "bug" was introduced to my bugfix in a re-factor.
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.

1 participant