mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 20:37:53 +08:00
fix: start the IPFS dht in server mode by default for now
This commit is contained in:
parent
3e6f0a7942
commit
ba631bbab0
@ -26,7 +26,9 @@ func constructDHTRouting(mode dht.ModeOpt) func(ctx context.Context, host host.H
|
||||
}
|
||||
|
||||
var (
|
||||
DHTOption RoutingOption = constructDHTRouting(dht.ModeAuto)
|
||||
// FIXME: Set this to dht.ModeAuto once we resolve
|
||||
// https://github.com/libp2p/go-libp2p-kad-dht/issues/564
|
||||
DHTOption RoutingOption = constructDHTRouting(dht.ModeServer)
|
||||
DHTClientOption = constructDHTRouting(dht.ModeClient)
|
||||
DHTServerOption = constructDHTRouting(dht.ModeServer)
|
||||
NilRouterOption = nilrouting.ConstructNilRouting
|
||||
|
||||
Loading…
Reference in New Issue
Block a user