ENHANCE SWARM CONNECTIVITY
This commit is contained in:
parent
e89cecb7cc
commit
67650ff228
|
@ -145,9 +145,9 @@ if [[ $(($minute % 15)) == 0 ]]; then
|
|||
## RESTORE index.html from /tmp/ipfsindex.html
|
||||
[[ -f /tmp/ipfsindex.html ]] && mv /tmp/ipfsindex.html ~/.zen/ipfs/index.html
|
||||
|
||||
## PING ALL MY FRIENDS
|
||||
echo "## FRIENDS IPFS PINGing"
|
||||
for g1pub in $(ls -t ~/.zen/ipfs/.$IPFSNODEID/FRIENDS/); do [[ $g1pub ]] && ipfs ping --timeout=7s -n 5 /ipfs/$(~/.zen/astrXbian/zen/tools/g1_to_ipfs.py $g1pub 2>/dev/null) 2>/dev/null; done
|
||||
## PING ALL MY FRIENDS TO ENHANCE SWARM CONNECTIVITY
|
||||
echo "## FRIENDS IPFS PINGing"
|
||||
for g1pub in $(ls -t ~/.zen/ipfs/.$IPFSNODEID/FRIENDS/); do [[ $g1pub ]] && ipfs ping --timeout=5s -n 3 /ipfs/$(~/.zen/astrXbian/zen/tools/g1_to_ipfs.py $g1pub 2>/dev/null) 2>/dev/null; done
|
||||
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue