From 09430a4a5cefa1d8fe72e73ceeca4734e8d0b1ba Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 6 Aug 2021 12:57:54 +0200 Subject: [PATCH] new SWARM sync pace --- cron_MINUTE.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index 7f2c293..5177356 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -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 & ########################################################################