diff --git a/RUNTIME/PLAYER.refresh.sh b/RUNTIME/PLAYER.refresh.sh index 61dc5274..5afbd630 100755 --- a/RUNTIME/PLAYER.refresh.sh +++ b/RUNTIME/PLAYER.refresh.sh @@ -521,7 +521,7 @@ for PLAYER in ${PLAYERONE[@]}; do #################################### UNPLUG ACCOUNT IRSS=$(ipfs add -q ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json | tail -n 1) \ - && ipfs name publish --key="${PLAYER}_feed" /ipfs/${IRSS} + && ipfs --timeout 180s name publish --key="${PLAYER}_feed" /ipfs/${IRSS} ######################### REPLACE TW with REDIRECT to latest IPFS or IPNS (reduce 12345 cache size) [[ ! -z ${TW} ]] && TWLNK="/ipfs/${TW}" || TWLNK="/ipns/${ASTRONAUTENS}" diff --git a/RUNTIME/REGION.refresh.sh b/RUNTIME/REGION.refresh.sh index 866ff4dc..c954999d 100755 --- a/RUNTIME/REGION.refresh.sh +++ b/RUNTIME/REGION.refresh.sh @@ -169,7 +169,7 @@ for REGION in ${REGIONS[@]}; do fi IPFSPOP=$(ipfs add -rwq ~/.zen/tmp/${MOATS}/${REGION}/* | tail -n 1) - ipfs name publish -k ${TODATE}${REGIONG1PUB} /ipfs/${IPFSPOP} + ipfs --timeout 180s name publish -k ${TODATE}${REGIONG1PUB} /ipfs/${IPFSPOP} ipfs key rm ${REGIONG1PUB} ${YESTERDATE}${REGIONG1PUB} > /dev/null 2>&1 diff --git a/RUNTIME/SECTOR.refresh.sh b/RUNTIME/SECTOR.refresh.sh index d993d6d8..39025ad7 100755 --- a/RUNTIME/SECTOR.refresh.sh +++ b/RUNTIME/SECTOR.refresh.sh @@ -348,7 +348,7 @@ for SECTOR in ${SECTORS[@]}; do ############################### echo "% PUBLISHING ${SECTOR} ${myIPFS}/ipns/${TODATENS}" start=`date +%s` - ipfs name publish -k ${TODATE}${G1PUB} /ipfs/${IPFSPOP} + ipfs --timeout 180s name publish -k ${TODATE}${G1PUB} /ipfs/${IPFSPOP} ipfs key rm ${YESTERDATE}${G1PUB} ${G1PUB} > /dev/null 2>&1 ###################################################### diff --git a/RUNTIME/UPLANET.refresh.sh b/RUNTIME/UPLANET.refresh.sh index 49036653..48209797 100755 --- a/RUNTIME/UPLANET.refresh.sh +++ b/RUNTIME/UPLANET.refresh.sh @@ -449,7 +449,7 @@ for UMAP in ${unique_combined[@]}; do echo "PUBLISHING ${TODATE} UMAPROOT : ${myIPFS}/ipfs/${UMAPROOT}" - ipfs name publish --key=${TODATE}${G1PUB} /ipfs/${UMAPROOT} + ipfs --timeout 180s name publish --key=${TODATE}${G1PUB} /ipfs/${UMAPROOT} end=`date +%s` echo "(UMAP) ${UMAP} ${TODATE} PUBLISH time was "`expr $end - $start` seconds. diff --git a/RUNTIME/VOEUX.refresh.sh b/RUNTIME/VOEUX.refresh.sh index 998c1fc1..3f6afebc 100755 --- a/RUNTIME/VOEUX.refresh.sh +++ b/RUNTIME/VOEUX.refresh.sh @@ -275,7 +275,7 @@ do ${MY_PATH}/../tools/json_dir.all.sh ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${WISHNAME} WISHFLUX=$(ipfs add -qHwr ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${WISHNAME}/* | tail -n 1) # ADDING JSONS TO IPFS - ipfs name publish -k $VOEUKEY /ipfs/$WISHFLUX # PUBLISH $VOEUKEY + ipfs --timeout 180s name publish -k $VOEUKEY /ipfs/$WISHFLUX # PUBLISH $VOEUKEY echo "## ASK ${myIPFSGW}${IPNS_VOEUNS} TO REFRESH" ## TODO LOOP BOOSTRAP & ONLINE FRIENDS curl -m 120 -so ~/.zen/tmp/${WISHNAME}.astroindex.html "${myIPFSGW}${IPNS_VOEUNS}" &