Skip to content

Commit

Permalink
CV2-5709 readd http condition only for non-workers
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney committed Nov 19, 2024
1 parent 7dd7544 commit 6943c96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions start_all.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/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

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

0 comments on commit 6943c96

Please sign in to comment.