Drag and Drop
This commit is contained in:
4
run.sh
4
run.sh
@@ -3,8 +3,8 @@
|
||||
|
||||
echo "Starting DocProcessor with Gunicorn..."
|
||||
|
||||
exec gunicorn -w 2 -k uvicorn.workers.UvicornWorker --forwarded-allow-ips='*' main:app -b 0.0.0.0:8000 &
|
||||
exec gunicorn -w 4 --threads 2 -k uvicorn.workers.UvicornWorker --forwarded-allow-ips='*' main:app -b 0.0.0.0:8000 &
|
||||
echo "Done"
|
||||
echo "Starting huey..."
|
||||
exec huey_consumer.py main.huey -w 2 &
|
||||
exec huey_consumer.py main.huey -w 4 &
|
||||
echo "Done"
|
||||
|
||||
Reference in New Issue
Block a user