flightstats / node-insights

Submit data to New Relic Insights
7 stars 1 forks source link

Fix a bug that happens when you call add multiple times inside a loop. #2

Closed breedx2 closed 9 years ago

breedx2 commented 9 years ago

Asynchronous request() was being called more times than it should have, and duplicated data was being sent to Insights.

mattpage commented 9 years ago

I moved rewire to be a dev dependency, but other than that, this looks good.

breedx2 commented 9 years ago

Ah good catch. I had done the dev dependency before but rebuilt the PR (manually rebased) and forgot that step.

mattpage commented 9 years ago

Published! https://www.npmjs.com/package/node-insights