Browse Source

remove default

pull/3015/head
Daniel Gibbs 5 years ago
parent
commit
6ecc912163
  1. 2
      lgsm/functions/command_dev_query_raw.sh
  2. 7
      lgsm/functions/command_monitor.sh

2
lgsm/functions/command_dev_query_raw.sh

@ -13,8 +13,6 @@ check.sh
info_config.sh
info_parms.sh
echo -e ""
echo -e "Query Port - Raw Output"
echo -e "=================================================================="

7
lgsm/functions/command_monitor.sh

@ -99,6 +99,8 @@ fn_monitor_query(){
# Query will wait up to 60 seconds to confirm server is down as server can become non-responsive during map changes.
totalseconds=0
for queryattempt in {1..5}; do
for queryip in "${queryips[@]}"
do
fn_print_dots "Querying port: ${querymethod}: ${queryip}:${queryport} : ${totalseconds}/${queryattempt}: "
fn_print_querying_eol
fn_script_log_info "Querying port: ${querymethod}: ${queryip}:${queryport} : ${queryattempt} : QUERYING"
@ -180,7 +182,8 @@ for queryattempt in {1..5}; do
break
fi
fi
fi
done
# Second counter will wait for 15s before breaking loop.
for seconds in {1..15}; do
fn_print_fail "Querying port: ${querymethod}: ${queryip}:${queryport} : ${totalseconds}/${queryattempt}: ${cyan}WAIT${default}"
@ -190,7 +193,7 @@ for queryattempt in {1..5}; do
break
fi
done
fi
done
}

Loading…
Cancel
Save