Commit 5c0cb309 authored by Romain Loth's avatar Romain Loth

Merge branch 'gevent_workers'

gevent workers are async and reduce time out problems for pending long ajaxes
parents aeab7cd8 e3178061
......@@ -20,7 +20,7 @@ fi
export COMEX_NWORKERS=$(grep -oP '(?<=COMEX_NWORKERS=).*' config/parametres_comex.ini)
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)
......
gunicorn
flask
flask-login
gevent
requests
mysqlclient # provides MySQLdb
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