mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +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 = {
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue