nothingisdead/npm-cryptsy-api — pull request #5 by mlmurray (2014-02-10 04:12:40+00:00)
Title: Added a re-queue in the situation where we get a timeout.

I'm not sure that I loved this solution, but I was getting freakouts from the json parser whenever the connection would timeout.

SyntaxError: Unexpected token u
at Object.parse (native)
at Request._callback (/home/ec2-user/gekko/node_modules/cryptsy-api/cryptsy.js:53:27)
at self.callback (/home/ec2-user/gekko/node_modules/cryptsy-api/node_modules/request/request.js:122:22)
at Request.EventEmitter.emit (events.js:95:17)
at ClientRequest.self.clientErrorHandler (/home/ec2-user/gekko/node_modules/cryptsy-api/node_modules/request/request.js:231:10)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at CleartextStream.socketCloseListener (http.js:1522:9)
at CleartextStream.EventEmitter.emit (events.js:117:20)
at tls.js:696:10
at process._tickCallback (node.js:415:13)