Skip to content

Commit

Permalink
fix start script
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Jan 10, 2024
1 parent 9aa44fd commit 5c69e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ python3 /app/scripts/init.py

echo "🦄 Starting gunicorn with $LIBRECHAT_WORKERS workers on $BIND for the module $APP_MODULE with a timeout of $TIMEOUT sec"
# exec gunicorn -w "$LIBRECHAT_WORKERS" -k "$WORKER_CLASS" -b "$BIND" --timeout "$TIMEOUT" "$APP_MODULE"
exec uvicorn -b "$BIND" --timeout "$TIMEOUT" "$APP_MODULE"
exec uvicorn --host "0.0.0.0" --port 8000 "$APP_MODULE"

# -w: number of worker processes for handling requests [1]
# --threads: number of worker threads for handling requests. [1]
Expand Down

0 comments on commit 5c69e28

Please sign in to comment.