diff --git a/RUNTIME/DRAGON_p2p_ssh.sh b/RUNTIME/DRAGON_p2p_ssh.sh index 276c6093..8e987ffe 100755 --- a/RUNTIME/DRAGON_p2p_ssh.sh +++ b/RUNTIME/DRAGON_p2p_ssh.sh @@ -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 diff --git a/tools/ipfs_config.sh b/tools/ipfs_config.sh index 0688711e..11a095db 100755 --- a/tools/ipfs_config.sh +++ b/tools/ipfs_config.sh @@ -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