From edb6491b7c4a0262653cd635ff51d2cf60b9bcd5 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Thu, 17 Feb 2022 12:31:29 -0500 Subject: [PATCH] ipfs: Reprovider.Strategy --- modules/ipfs.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ipfs.nix b/modules/ipfs.nix index 59238b1..2a76298 100644 --- a/modules/ipfs.nix +++ b/modules/ipfs.nix @@ -6,6 +6,7 @@ let server = { Swarm.DisableNatPortMap = true; # Disable UPnP AutoNAT.ServiceMode = "disabled"; # maybe change this to "enabled" ? + Reprovider.Strategy = "pinned"; Routing.Type = "dhtclient"; # maybe change this to "dht" ? Swarm.ConnMgr.HighWater = 900; Swarm.ConnMgr.LowWater = 600; @@ -13,6 +14,7 @@ let desktop = { Swarm.DisableNatPortMap = true; # Disable UPnP AutoNAT.ServiceMode = "disabled"; + Reprovider.Strategy = "pinned"; Routing.Type = "dhtclient"; Swarm.ConnMgr.HighWater = 300; Swarm.ConnMgr.LowWater = 50;