From 754ba9344bb8d27852b4f3e66eb43dc6958e84da Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Tue, 14 Apr 2020 20:29:05 -0700 Subject: [PATCH] go-ipfs-config: feat: disable autonat service when in lowpower mode --- config/profile.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/profile.go b/config/profile.go index 3f339dbf0e5c..a95ba0f1fe90 100644 --- a/config/profile.go +++ b/config/profile.go @@ -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