added to initial sleep in case node has just started.

This commit is contained in:
crowetic 2024-11-04 12:22:15 -08:00
parent 73d3b676fe
commit 2bf9a91ece

View File

@ -56,9 +56,9 @@ restart_qortal() {
# Main loop function
main_loop() {
log "Sleeping 25 seconds until first peer check..."
log "Sleeping 125 seconds until first peer check..."
log "Number of acceptable peers set: $ACCEPTABLE_PEERS"
sleep 25 # Wait for 25 seconds before starting checks
sleep 125 # Wait for 125 seconds before starting checks
while true; do
number_of_connections=$(get_number_of_connections)