aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-04-26 17:16:29 +0200
committerlonkaars <loek@pipeframe.xyz>2021-04-26 17:16:29 +0200
commit4fd6ebc050dd11213fe55407f0d5fdc74b81936c (patch)
treef3e0e75b4d79757a3298553e4a74b80ee3a17193
parent5c5136b511312ad03cb5d31c038f1aa02a8a2a22 (diff)
uwsgi working
-rw-r--r--.gitignore3
-rw-r--r--requirements.txt4
-rw-r--r--uwsgi.ini5
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