diff --git a/app/makefile b/app/makefile index 8ea0bd4..ea09543 100644 --- a/app/makefile +++ b/app/makefile @@ -1,5 +1,13 @@ -start: +start: hypercorn + +gevent: gunicorn --worker-class gevent --bind 0.0.0.0:9021 app:app +gthread: + gunicorn --worker-class gthread --threads 4 --bind 0.0.0.0:9021 app:app + +hypercorn: + hypercorn --bind 0.0.0.0:9021 app:app + dev: python app.py diff --git a/requirements.txt b/requirements.txt index 738e665..c8320a2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,5 +7,7 @@ moviepy==1.0.3 pillow==10.3.0 requests==2.32.3 httpx==0.27.0 +# uvicorn==0.28.1 +hypercorn==0.17.3 # imageio==2.34.1 # griffe>=0.20.0,<1.0.0 \ No newline at end of file