Add asyncio loop to uvicorn command
This commit is contained in:
parent
027fd0658b
commit
ac38b1d3b5
3 changed files with 6 additions and 3 deletions
4
Makefile
4
Makefile
|
|
@ -120,10 +120,10 @@ backend:
|
|||
@-kill -9 `lsof -t -i:7860`
|
||||
ifeq ($(login),1)
|
||||
@echo "Running backend without autologin";
|
||||
poetry run uvicorn --factory langflow.main:create_app --host 0.0.0.0 --port 7860 --reload --env-file .env
|
||||
poetry run uvicorn --factory langflow.main:create_app --host 0.0.0.0 --port 7860 --reload --env-file .env --loop asyncio
|
||||
else
|
||||
@echo "Running backend with autologin";
|
||||
LANGFLOW_AUTO_LOGIN=True poetry run uvicorn --factory langflow.main:create_app --host 0.0.0.0 --port 7860 --reload --env-file .env
|
||||
LANGFLOW_AUTO_LOGIN=True poetry run uvicorn --factory langflow.main:create_app --host 0.0.0.0 --port 7860 --reload --env-file .env --loop asyncio
|
||||
endif
|
||||
|
||||
build_and_run:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue