uber / tchannel-node

MIT License
203 stars 40 forks source link

Fix prefer incoming strategy for when there are no incoming connections #342

Closed kriskowal closed 7 years ago

kriskowal commented 8 years ago

The prefer incoming connections peer heap selection strategy currently favors unconnected peers and peers with outbound connections equally. So, in the absence of inbound connections, as would happen to a Hyperbahn service that is not advertising or has been banned form advertising, the service will eventually become fully connected.

Raynos commented 7 years ago

Fixed by #346