log0ymxm/node-harvest — pull request #9 by bahzuercher (2014-02-11 22:31:31+00:00)
Title: fix for 'Use emitter.setMaxListeners() to increase limit' issue

I uncovered an issue when calling the api repeatedly that a couple of things would happen:
1. the listener would fire for requests i wasn't invoking (moved to use the once instead of addListener below)
2. the eventEmitter would complain for too many leaks (issue in restler pre 3.1.0)

this fixes both of these scenarios