disable natPortMap for now

This commit is contained in:
Łukasz Magiera 2019-07-09 16:30:54 +02:00
parent 5b04fbb505
commit 271c268e28

View File

@ -148,7 +148,7 @@ func Online() Option {
Override(BaseRoutingKey, lp2p.BaseRouting),
Override(new(routing.Routing), lp2p.Routing),
Override(NatPortMapKey, lp2p.NatPortMap),
//Override(NatPortMapKey, lp2p.NatPortMap), //TODO: reenable when closing logic is actually there
Override(ConnectionManagerKey, lp2p.ConnectionManager(50, 200, 20*time.Second)),
Override(new(*pubsub.PubSub), lp2p.GossipSub()),