We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17b6716 commit 24dae63Copy full SHA for 24dae63
dev/scripts/common/logging.sh
@@ -9,12 +9,11 @@ TS=$(tput setaf 2)
9
TAG=$(tput setaf 10)
10
RESET=$(tput sgr0)
11
12
-# timestamp
13
-TIMESTAMP=$(date "+%Y-%m-%d %H:%M:%S")
14
-
15
log(){
16
local _tag_name=${1}
17
local _msg=${@:2}
+ # timestamp
+ local TIMESTAMP=$(date "+%Y-%m-%d %H:%M:%S")
18
19
printf "${TS}${TIMESTAMP} ${TAG}[${_tag_name}\t] ${_msg}\n"
20
printf ${RESET}
dev/scripts/load_test_customer_data.sh
@@ -230,7 +230,7 @@ trigger_ocp_ingest() {
230
break
231
else
232
retries=$((retries + 1))
233
- local wait_time=$((RANDOM % 10 + 1))
+ local wait_time=10
234
log-info "has_data is false for source_name $1, retrying in $wait_time seconds... (Attempt $retries/$max_retries)"
235
sleep "$wait_time"
236
fi
0 commit comments