From 67650ff228f77101cc3b0c889c27d8936418b6a8 Mon Sep 17 00:00:00 2001 From: qo-op Date: Wed, 7 Jul 2021 23:26:17 +0200 Subject: [PATCH] ENHANCE SWARM CONNECTIVITY --- cron_MINUTE.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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