11 lines
332 B
Bash
Executable File
11 lines
332 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
cd "/app/" || exit 1
|
|
export PYTHONPATH="$PYTHONPATH:/app/"
|
|
|
|
# Start a worker for the 'llm_interactions' queue with auto-scaling
|
|
celery -A eveai_chat_workers.celery worker --loglevel=info -Q llm_interactions --autoscale=2,8 --hostname=interactions_worker@%h &
|
|
|
|
# Wait for all background processes to finish
|
|
wait
|