mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
* fix: remove mdns_legacy We've been running both implementations for a long, long time. It is time to remove legacy version and lower the number of LAN packets IPFS node produces. See https://github.com/ipfs/go-ipfs/pull/9048#discussion_r906814717 for the Interval removal rational.
14 lines
286 B
Go
14 lines
286 B
Go
package config
|
|
|
|
type Discovery struct {
|
|
MDNS MDNS
|
|
}
|
|
|
|
type MDNS struct {
|
|
Enabled bool
|
|
|
|
// DEPRECATED: the time between discovery rounds is no longer configurable
|
|
// See: https://github.com/ipfs/go-ipfs/pull/9048#discussion_r906814717
|
|
Interval *OptionalInteger `json:",omitempty"`
|
|
}
|