swiching to hypercorn

This commit is contained in:
ari committed 2022-07-18 13:30:33 -04:00
1 parent 937a3f97c4
commit 395a9d955e
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -43,4 +43,4 @@ clean:
run-local:
rm -f web
ln -s ../webapp/build web
USE_EXAMPLE_REPO=1 $(VENV_BIN)/uvicorn src.app:app --reload
USE_EXAMPLE_REPO=1 $(VENV_BIN)/hypercorn src.app:app --reload
+1 -1
View File
@@ -7,7 +7,7 @@ setuptools.setup(
"PyYAML==6.0",
"fastapi==0.78.0",
"pydantic==1.9.1",
"uvicorn[standard]==0.18.2",
"hypercorn==0.13.2",
"python-decouple==3.6",
],
extras_require={
+1 -1
View File
@@ -7,4 +7,4 @@ echo "--------------------"
echo "BUILD_VERSION = "$BUILD_VERSION
echo $(python --version)
echo "--------------------"
python -m uvicorn src.app:app --host "0.0.0.0" --port 8000
python -m hypercorn src.app:app --host "0.0.0.0" --port 8000