Skip to content

Commit

Permalink
expand tgi connect timeout (#424)
Browse files Browse the repository at this point in the history
Signed-off-by: chensuyue <suyue.chen@intel.com>
  • Loading branch information
chensuyue authored Jul 18, 2024
1 parent f732674 commit ee0dcb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ChatQnA/tests/test_chatqna_on_xeon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ function start_services() {
# Start Docker Containers
docker compose -f docker_compose.yaml up -d
n=0
until [[ "$n" -ge 200 ]]; do
docker logs tgi-service > tgi_service_start.log
if grep -q Connected tgi_service_start.log; then
until [[ "$n" -ge 500 ]]; do
docker logs tgi-service > ${LOG_PATH}/tgi_service_start.log
if grep -q Connected ${LOG_PATH}/tgi_service_start.log; then
break
fi
sleep 1s
Expand Down

0 comments on commit ee0dcb3

Please sign in to comment.