Increase timeout for waiting for bbb-web to startup

This commit is contained in:
Fred Dixon 2019-02-10 23:03:18 -08:00 committed by GitHub
parent e26df7cf06
commit 6f7ffdf83d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1315,11 +1315,11 @@ check_state() {
check_no_value server_name /etc/nginx/sites-available/bigbluebutton $BBB_WEB
COUNT=0
while [ $COUNT -lt 20 ]; do
while [ $COUNT -lt 30 ]; do
let COUNT=COUNT+1
timeout 1s wget $PROTOCOL://$BBB_WEB/bigbluebutton/api -O - --quiet | grep -q SUCCESS
if [ $? -eq 0 ]; then
let COUNT=30
let COUNT=40
else
echo -n "."
sleep 1