Skip to content

Commit b6bc82e

Browse files
author
Slyke
committed
Updated timeout times and message
1 parent 1296a23 commit b6bc82e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

menu.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ else
205205
PYCLI_REBUILD_DONE="not completed"
206206
WUI_REBUILD_DONE="not completed"
207207

208-
until [[ $SLEEP_COUNTER -gt 661 || ("$API_REBUILD_DONE" == "completed" && "$PYCLI_REBUILD_DONE" == "completed" && "$WUI_REBUILD_DONE" == "completed") ]]; do
208+
until [[ $SLEEP_COUNTER -gt 721 || ("$API_REBUILD_DONE" == "completed" && "$PYCLI_REBUILD_DONE" == "completed" && "$WUI_REBUILD_DONE" == "completed") ]]; do
209209
if [[ ! "$(docker images -q iostack_api:$VERSION)" == "" && ! $API_REBUILD_DONE == "completed" ]]; then
210210
API_REBUILD_DONE="completed"
211211
echo ""
@@ -240,16 +240,18 @@ else
240240
echo ""
241241
fi
242242

243-
if [[ $SLEEP_COUNTER -gt 660 ]]; then
243+
if [[ $SLEEP_COUNTER -gt 720 ]]; then
244244
echo ""
245245
echo "Build timeout occured"
246-
echo "Something seems to have gone wrong when rebuilding the menu docker images."
247246
echo "It's possible the container(s) just need a little more time to finish building."
248-
echo "You can try rerunning the menu after waiting a short time."
247+
echo "This error can occur if your system is busy running other processes while building the containers."
248+
echo "Only the API and PyCLI containers need to build to run the CLI menu."
249+
echo "Only the API and WUI containers need to build to view the web UI."
250+
echo "You can also try rerunning the menu after waiting a short time."
249251
echo ""
250-
echo "API Rebuild: $API_REBUILD_DONE"
251-
echo "PyCLI Rebuild: $PYCLI_REBUILD_DONE"
252-
echo "WUI Rebuild: $WUI_REBUILD_DONE"
252+
echo "API Build: $API_REBUILD_DONE"
253+
echo "PyCLI Build: $PYCLI_REBUILD_DONE"
254+
echo "WUI Build: $WUI_REBUILD_DONE"
253255
echo ""
254256
if [[ "$SKIPCHECKS" == "false" ]]; then
255257
read -n 1 -s -r -p "Press any key to continue"

0 commit comments

Comments
 (0)