Routing.AcceleratedDHTClient true

This commit is contained in:
fred 2024-04-17 15:26:57 +02:00
parent 3e3ac3d9da
commit 4c18df9c9f
2 changed files with 3 additions and 1 deletions

View File

@ -126,7 +126,7 @@ if [[ -s ~/.zen/prometheus/prometheus ]]; then
ncrunning=$(ps axf --sort=+utime | grep -w 'prometheus' | grep -v -E 'color=auto|grep' | tail -n 1 | xargs | cut -d " " -f 1)
[[ $ncrunning ]] \
&& echo "RESTARTING" && kill -HUP $ncrunning \
|| ~/.zen/prometheus/prometheus &
|| { cd ~/.zen/prometheus/; ./prometheus & }
fi

View File

@ -36,6 +36,8 @@ ipfs config --json Experimental.P2pHttpProxy true
#~ "AcceleratedDHTClient": true
#~ }
#~ }'
ipfs config --json Routing.AcceleratedDHTClient true
ipfs config --json Swarm.ConnMgr.LowWater 20
ipfs config --json Swarm.ConnMgr.HighWater 40