Add eventlet in run script

This commit is contained in:
redfast00 2019-10-08 04:06:23 +02:00
parent 919f89fb56
commit 93bc22f067
No known key found for this signature in database
GPG key ID: 5946E0E34FD0553C

2
run.sh
View file

@ -3,4 +3,4 @@
cd "$(dirname "$0")"
pipenv install
export FLASK_APP=chat.py
exec pipenv run gunicorn -w 1 -b0.0.0.0:5000 chat:app
exec pipenv run gunicorn --worker-class eventlet -w 1 -b0.0.0.0:5000 chat:app