Skip to content

Commit

Permalink
Merge pull request ipfs#77 from ipfs/feat/disable-autonatsvc-lowpower
Browse files Browse the repository at this point in the history
feat: disable autonat service when in lowpower mode
  • Loading branch information
Stebalien authored Apr 15, 2020
2 parents 4b8bf3e + a7db84a commit 544b0a0
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 544b0a0

Please sign in to comment.