mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-11 19:27:51 +08:00
Merge branch 'master' into reprovide-sweep-enabled
This commit is contained in:
commit
a29a66fc8a
@ -415,7 +415,7 @@ func SweepingProviderOpt(cfg *config.Config) fx.Option {
|
||||
dhtprovider.WithKeystore(ks),
|
||||
dhtprovider.WithDatastore(ds),
|
||||
dhtprovider.WithResumeCycle(cfg.Provide.DHT.ResumeEnabled.WithDefault(config.DefaultProvideDHTResumeEnabled)),
|
||||
dhtprovider.WithPeerID(impl.Host().ID()),
|
||||
dhtprovider.WithHost(impl.Host()),
|
||||
dhtprovider.WithRouter(impl),
|
||||
dhtprovider.WithMessageSender(impl.MessageSender()),
|
||||
dhtprovider.WithSelfAddrs(selfAddrsFunc),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user