uber-node / tcurl

A command line utility to talk to tchannel servers
MIT License
36 stars 7 forks source link

Defer to TChannel for peer selection #103

Closed kriskowal closed 8 years ago

kriskowal commented 8 years ago

This gets rid of an unnecessary explicit call to choosePeer, which then necessitates an explicit waitForPeerIdentified. This fixes retries, enabling retries to other members of the peer list.

r @raynos @ShanniLi

Raynos commented 8 years ago

tests pass. lgtm. Try manually with both -p and -H for extra verification