MVPilgrim commited on
Commit
ff13be7
·
verified ·
1 Parent(s): f5ff97a

Update startup.sh

Browse files
Files changed (1) hide show
  1. startup.sh +3 -2
startup.sh CHANGED
@@ -12,8 +12,9 @@ echo "#### Before /app/text2vec-transformers"
12
  /app/text2vec-transformers/bin/uvicorn app:app --host 0.0.0.0 --port 8081 --log-level warning --timeout-keep-alive 1440 &
13
 
14
  sleep 5
15
- echo "######## curl t2 "
16
- curl localhost:8081/vectors -H 'Content-Type: application/json' -d '{"text": "foo bar"}'
 
17
 
18
  ###############################################
19
  # Start the weaviate vector database server.
 
12
  /app/text2vec-transformers/bin/uvicorn app:app --host 0.0.0.0 --port 8081 --log-level warning --timeout-keep-alive 1440 &
13
 
14
  sleep 5
15
+ echo "\n######## curl t2 "
16
+ for (( ; ; )) do curl localhost:8081/vectors -H 'Content-Type: application/json' -d '{"text": "foo bar"}'; sleep 5; done &
17
+
18
 
19
  ###############################################
20
  # Start the weaviate vector database server.