uber / tchannel-node

MIT License
203 stars 40 forks source link

Updated peer score strategy to not fully connect #346

Closed Raynos closed 7 years ago

Raynos commented 7 years ago

This updates the peer selection score strategy to mark unconnected peers as the lowest score.

This means that we will not fully connect and will in general use 1 peer most of the time.

The only time more then 1 peer is used per sub channel:

r: @kriskowal @prashantv @jialiehu

CLAassistant commented 7 years ago

CLA assistant check
All committers have signed the CLA.

albertyfwu commented 7 years ago

not familiar with tchannel code, but thanks for doing this