forked from STI/Astroport.ONE
Routing.AcceleratedDHTClient true
This commit is contained in:
parent
3e3ac3d9da
commit
4c18df9c9f
@ -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=$(ps axf --sort=+utime | grep -w 'prometheus' | grep -v -E 'color=auto|grep' | tail -n 1 | xargs | cut -d " " -f 1)
|
||||||
[[ $ncrunning ]] \
|
[[ $ncrunning ]] \
|
||||||
&& echo "RESTARTING" && kill -HUP $ncrunning \
|
&& echo "RESTARTING" && kill -HUP $ncrunning \
|
||||||
|| ~/.zen/prometheus/prometheus &
|
|| { cd ~/.zen/prometheus/; ./prometheus & }
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -36,6 +36,8 @@ ipfs config --json Experimental.P2pHttpProxy true
|
|||||||
#~ "AcceleratedDHTClient": true
|
#~ "AcceleratedDHTClient": true
|
||||||
#~ }
|
#~ }
|
||||||
#~ }'
|
#~ }'
|
||||||
|
ipfs config --json Routing.AcceleratedDHTClient true
|
||||||
|
|
||||||
|
|
||||||
ipfs config --json Swarm.ConnMgr.LowWater 20
|
ipfs config --json Swarm.ConnMgr.LowWater 20
|
||||||
ipfs config --json Swarm.ConnMgr.HighWater 40
|
ipfs config --json Swarm.ConnMgr.HighWater 40
|
||||||
|
Loading…
Reference in New Issue
Block a user