diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index 1eb8740..bcbb978 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -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