From 4fd6ebc050dd11213fe55407f0d5fdc74b81936c Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 26 Apr 2021 17:16:29 +0200 Subject: uwsgi working --- .gitignore | 3 +++ requirements.txt | 4 +++- uwsgi.ini | 5 ++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 15643f2..954267d 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,6 @@ voerbak/voerbak voerbak/*.o voerbak/tests/* +# uwsgi +.uwsgi_plugins_builder/ + diff --git a/requirements.txt b/requirements.txt index bed057f..0e0e1d4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,9 +4,9 @@ cffi==1.14.5 click==7.1.2 colorama==0.4.4 dnspython==1.16.0 -eventlet==0.30.2 Flask==1.1.2 Flask-SocketIO==5.0.1 +gevent==21.1.2 greenlet==1.0.0 itsdangerous==1.1.0 Jinja2==2.11.3 @@ -19,3 +19,5 @@ python-socketio==5.2.1 six==1.15.0 uWSGI==2.0.19.1 Werkzeug==1.0.1 +zope.event==4.5.0 +zope.interface==5.4.0 diff --git a/uwsgi.ini b/uwsgi.ini index 1a66ca3..c9026a0 100644 --- a/uwsgi.ini +++ b/uwsgi.ini @@ -6,11 +6,14 @@ http=127.0.0.1:5000 need-app=true lazy-apps=true master=true +enable-threads=true processes=1 threads=1 single-interpreter=true die-on-term=true procname-prefix-spaced=vier op een rij api vacuum=true -pidfile=demo.pid +pidfile=c4api.pid worker-reload-mercy=5 +http-websockets = true +gevent = 1000 -- cgit v1.2.3