Commit e3178061 authored by Romain Loth's avatar Romain Loth

gunicorn worker class gevent

parent 653ecbdd
...@@ -20,7 +20,7 @@ fi ...@@ -20,7 +20,7 @@ fi
export COMEX_NWORKERS=$(grep -oP '(?<=COMEX_NWORKERS=).*' config/parametres_comex.ini) export COMEX_NWORKERS=$(grep -oP '(?<=COMEX_NWORKERS=).*' config/parametres_comex.ini)
echo "binding gunicorn to unix:/tmp/comex.sock" echo "binding gunicorn to unix:/tmp/comex.sock"
gunicorn -b unix:/tmp/comex.sock services.main:app --workers $COMEX_NWORKERS gunicorn -b unix:/tmp/comex.sock services.main:app --workers $COMEX_NWORKERS --worker-class gevent
# export COMEX_HOST=$(grep -oP '(?<=COMEX_HOST=).*' config/parametres_comex.ini) # export COMEX_HOST=$(grep -oP '(?<=COMEX_HOST=).*' config/parametres_comex.ini)
......
gunicorn gunicorn
flask flask
flask-login flask-login
gevent
requests requests
mysqlclient # provides MySQLdb mysqlclient # provides MySQLdb
networkx # POSS could be replaced by faster igraph networkx # POSS could be replaced by faster igraph
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment