Skip to content

Commit

Permalink
go-ipfs-config: Merge pull request ipfs#77 from ipfs/feat/disable-aut…
Browse files Browse the repository at this point in the history
…onatsvc-lowpower

feat: disable autonat service when in lowpower mode
  • Loading branch information
Stebalien authored Apr 15, 2020
2 parents bb90d66 + 754ba93 commit 5e5cc56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e5cc56

Please sign in to comment.