new SWARM sync pace

This commit is contained in:
fred 2021-08-06 12:57:54 +02:00
parent c1b1054b8d
commit 09430a4a5c
1 changed files with 5 additions and 4 deletions

View File

@ -184,10 +184,11 @@ fi
#
##################################################################
# TODO: IDEA make gchange/ipfs/ipns refresh speed depending on ipfs swarm size and DEFCON level !
## SYNC GCHANGE EVERY 1 hour runtime
[[ $(($runtime % 20)) == 0 ]] && $MY_PATH/zen/gchange_INIT.sh && $MY_PATH/zen/gchange_IPFS_swarm.sh &
# QUICK SYNC SWARM EVERY 20 minutes
## SYNC GCHANGE EVERY 3 hours runtime
[[ $(($runtime % 180)) == 0 ]] && $MY_PATH/zen/gchange_INIT.sh &
## SYNC SWARM EVERY 20 mn runtime
[[ $(($runtime % 20)) == 0 ]] && $MY_PATH/zen/gchange_IPFS_swarm.sh &
# QUICK SYNC SWARM EVERY 12 minutes
[[ $(($runtime % 12)) == 0 ]] && $MY_PATH/zen/ipfs_FRIENDS_refresh.sh &
########################################################################