File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
internal/controller/scripts Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 22set -e
33if [ ! -z " $VALKEY_PASSWORD " ]; then export REDISCLI_AUTH=$VALKEY_PASSWORD ; fi ;
44response=$(
5- timeout -f -s 15 $1 \
5+ timeout --foreground -s 15 $1 \
66 valkey-cli \
77 -h localhost \
88 -p $VALKEY_PORT_NUMBER \
Original file line number Diff line number Diff line change 44if [ ! -z " $VALKEY_PASSWORD " ]; then export REDISCLI_AUTH=$VALKEY_PASSWORD ; fi ;
55
66 response=$(
7- timeout -f -s 15 $1 \
7+ timeout --foreground -s 15 $1 \
88 valkey-cli \
99 -h localhost \
1010 -p $VALKEY_TLS_PORT_NUMBER \
Original file line number Diff line number Diff line change 44VALKEY_STATUS_FILE=/tmp/.valkey_cluster_check
55if [ ! -z " $VALKEY_PASSWORD " ]; then export REDISCLI_AUTH=$VALKEY_PASSWORD ; fi ;
66response=$(
7- timeout -f -s 15 $1 \
7+ timeout --foreground -s 15 $1 \
88 valkey-cli \
99 -h localhost \
1010 -p $VALKEY_PORT_NUMBER \
2121nodes=$( echo $VALKEY_NODES | wc -w)
2222if [ ! -f " $VALKEY_STATUS_FILE " ] && [ " $nodes " != " 1" ]; then
2323 response=$(
24- timeout -f -s 15 $1 \
24+ timeout --foreground -s 15 $1 \
2525 valkey-cli \
2626 -h localhost \
2727 -p $VALKEY_PORT_NUMBER \
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ VALKEY_STATUS_FILE=/tmp/.valkey_cluster_check
55if [ ! -z " $VALKEY_PASSWORD " ]; then export REDISCLI_AUTH=$VALKEY_PASSWORD ; fi ;
66
77 response=$(
8- timeout -f -s 15 $1 \
8+ timeout --foreground -s 15 $1 \
99 valkey-cli \
1010 -h localhost \
1111 -p $VALKEY_TLS_PORT_NUMBER \
2828count=$( echo $VALKEY_NODES | wc -w)
2929if [ ! -f " $VALKEY_STATUS_FILE " ] && [ " $count " != " 1" ]; then
3030 response=$(
31- timeout -f -s 15 $1 \
31+ timeout --foreground -s 15 $1 \
3232 valkey-cli \
3333 -h localhost \
3434 -p $VALKEY_TLS_PORT_NUMBER \
You can’t perform that action at this time.
0 commit comments