This commit is contained in:
2023-05-01 19:26:22 -05:00
parent d74abe7e04
commit 82fe59404b
2 changed files with 1 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='4.6.12-04302023'
VERS='4.6.20-04302023'
#NODETYPES=WEB,LB
NODETYPES=MYSQL,LB,WEB,NC,WPD,LPD,MM,PW

View File

@@ -443,7 +443,6 @@ STATUS(){
[ "${ST_ACTION}" != "report" ] && c=0; cw=30; spc=''; spc1=${cw}-${#REPL_DESC[${rcheck}]}; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done || spc=' '
echo -en " ${REPL_DESC[${rcheck}]}${spc}: "
timeout=`date --date='2 minutes' +%s`
warn_timeout=`date --date='30 secs' +%s`
else
timeout=`date --date='2 minutes' +%s`
fi
@@ -459,9 +458,6 @@ STATUS(){
if [ "`date +%s`" -gt "${timeout}" ]; then
timeout=true
break
elif [ "`date +%s`" -gt "${warn_timeout}" ] && [ "${ST_ACTION}" != "report" ]; then
echo -en " waiting for sync... "
warn_timeout=`date --date='100 minutes' +%s`
fi
done
# replend=`date +%s`