increase connection manager weight for mesh peers

This commit is contained in:
vyzo 2020-03-27 17:56:10 +02:00
parent 7a3848073e
commit 0cab7f5e59

View File

@ -1137,7 +1137,7 @@ func (gs *GossipSubRouter) getPeers(topic string, count int, filter func(peer.ID
func (gs *GossipSubRouter) tagPeer(p peer.ID, topic string) {
tag := topicTag(topic)
gs.p.host.ConnManager().TagPeer(p, tag, 2)
gs.p.host.ConnManager().TagPeer(p, tag, 20)
}
func (gs *GossipSubRouter) untagPeer(p peer.ID, topic string) {