mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
ipfs: Reprovider.Strategy
This commit is contained in:
parent
aa179fc2f7
commit
edb6491b7c
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@ let
|
||||||
server = {
|
server = {
|
||||||
Swarm.DisableNatPortMap = true; # Disable UPnP
|
Swarm.DisableNatPortMap = true; # Disable UPnP
|
||||||
AutoNAT.ServiceMode = "disabled"; # maybe change this to "enabled" ?
|
AutoNAT.ServiceMode = "disabled"; # maybe change this to "enabled" ?
|
||||||
|
Reprovider.Strategy = "pinned";
|
||||||
Routing.Type = "dhtclient"; # maybe change this to "dht" ?
|
Routing.Type = "dhtclient"; # maybe change this to "dht" ?
|
||||||
Swarm.ConnMgr.HighWater = 900;
|
Swarm.ConnMgr.HighWater = 900;
|
||||||
Swarm.ConnMgr.LowWater = 600;
|
Swarm.ConnMgr.LowWater = 600;
|
||||||
|
@ -13,6 +14,7 @@ let
|
||||||
desktop = {
|
desktop = {
|
||||||
Swarm.DisableNatPortMap = true; # Disable UPnP
|
Swarm.DisableNatPortMap = true; # Disable UPnP
|
||||||
AutoNAT.ServiceMode = "disabled";
|
AutoNAT.ServiceMode = "disabled";
|
||||||
|
Reprovider.Strategy = "pinned";
|
||||||
Routing.Type = "dhtclient";
|
Routing.Type = "dhtclient";
|
||||||
Swarm.ConnMgr.HighWater = 300;
|
Swarm.ConnMgr.HighWater = 300;
|
||||||
Swarm.ConnMgr.LowWater = 50;
|
Swarm.ConnMgr.LowWater = 50;
|
||||||
|
|
Loading…
Reference in a new issue