Increase license post timeout to 5 minutes
Change-Id: Iab06c964e44f60d4faee73a828545fc96044f65d Signed-off-by: Javeria Khan <javeriak@plumgrid.com>
This commit is contained in:
parent
6ec9f25b1a
commit
13cd87f8aa
@ -25,8 +25,8 @@ if [[ ! -f "/root/post_director" ]];then
|
||||
http_status=""
|
||||
|
||||
while [[ "$http_status" != "200" ]]; do
|
||||
if [[ $retry_cnt -ge 30 ]]; then
|
||||
echo "Failed to login to platform for 60 seconds, exiting..."
|
||||
if [[ $retry_cnt -ge 150 ]]; then
|
||||
echo "Failed to login to platform for 5 minutes, exiting..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user