Skip to content

Commit

Permalink
Merge pull request #127 from meedan/cv2-5709-readd-http
Browse files Browse the repository at this point in the history
CV2-5709 readd http server
  • Loading branch information
DGaffney authored Nov 19, 2024
2 parents 7dd7544 + d4a7752 commit 4edb537
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions start_all.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#!/bin/sh

if [ "$ROLE" != "worker" ]; then
# Start the HTTP server process in the background if not a worker
uvicorn main:app --host 0.0.0.0 --port ${PRESTO_PORT} --reload &
fi
uvicorn main:app --host 0.0.0.0 --port ${PRESTO_PORT} --reload &

if [ "$ROLE" = "worker" ]; then
# Start worker processes
Expand Down

0 comments on commit 4edb537

Please sign in to comment.