Browse Source

hypercorn

main
Michael Pilosov 3 months ago
parent
commit
cec0ae2481
  1. 10
      app/makefile
  2. 2
      requirements.txt

10
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

2
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
Loading…
Cancel
Save