Skip to content

Commit

Permalink
Upgrade tchannel devDependency to 2.7.1-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
jwolski committed Aug 28, 2015
1 parent fca3951 commit 851da62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"pre-commit": "^0.0.9",
"tape": "^3.0.3",
"tape-cluster": "2.1.0",
"tchannel": "^2.5.1",
"tchannel": ">2.7.1-alpha",
"time-mock": "^0.1.2",
"tryit": "^1.0.1",
"uber-licence": "^1.1.0"
Expand Down
5 changes: 3 additions & 2 deletions ringpop-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ RingpopHandler.prototype.handleRequest = function handleRequest(req, buildRes) {
return self.realHandler.handleRequest(req, buildRes);
}

var outreq = new RelayRequest(self.channel, req, buildRes);
outreq.createOutRequest(dest);
var peer = self.channel.peers.add(dest);
var outreq = new RelayRequest(self.channel, peer, req, buildRes);
outreq.createOutRequest();
};

RingpopHandler.prototype.resolveHost =
Expand Down

0 comments on commit 851da62

Please sign in to comment.