mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 04:17:44 +08:00
go-ipfs-config: feat: disable autonat service when in lowpower mode
This commit is contained in:
parent
08c4a24992
commit
cf3fa1bdb6
@ -163,6 +163,7 @@ fetching may be degraded.
|
||||
`,
|
||||
Transform: func(c *Config) error {
|
||||
c.Routing.Type = "dhtclient"
|
||||
c.AutoNAT.ServiceMode = AutoNATServiceDisabled
|
||||
c.Reprovider.Interval = "0"
|
||||
|
||||
c.Swarm.ConnMgr.LowWater = 20
|
||||
|
||||
Loading…
Reference in New Issue
Block a user