Changed from gunicorn to gevent

This commit is contained in:
Roger Gonzalez 2023-05-14 11:10:36 -03:00
parent 3ef96aa150
commit 1c3796ea75
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6
2 changed files with 10 additions and 1 deletions

View File

@ -11,7 +11,8 @@ distlib==0.3.6
filelock==3.12.0
Flask==2.3.2
frozenlist==1.3.3
gunicorn==20.1.0
gevent==22.10.2
greenlet==2.0.2
html5lib==1.1
identify==2.5.24
idna==3.4
@ -33,3 +34,5 @@ virtualenv==20.23.0
webencodings==0.5.1
Werkzeug==2.3.4
yarl==1.9.2
zope.event==4.6
zope.interface==6.0

6
wsgi.py Normal file
View File

@ -0,0 +1,6 @@
from gevent.pywsgi import WSGIServer
from app import app
http_server = WSGIServer(("0.0.0.0", 5000), app)
http_server.serve_forever()