[damned-lies/oscp] Tune uwsgi config
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies/oscp] Tune uwsgi config
- Date: Thu, 26 Mar 2020 14:40:30 +0000 (UTC)
commit da0336d9a9cdbc9aa662961e70c79f8f961fb197
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Thu Mar 26 15:40:10 2020 +0100
Tune uwsgi config
uwsgi/Dockerfile | 2 +-
uwsgi/uwsgi.ini | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/uwsgi/Dockerfile b/uwsgi/Dockerfile
index f8c10d7b..772508d1 100644
--- a/uwsgi/Dockerfile
+++ b/uwsgi/Dockerfile
@@ -16,4 +16,4 @@ ADD uwsgi.ini /uwsgi.ini
USER l10n
ENTRYPOINT ["/entrypoint.sh"]
-CMD ["uwsgi", "--enable-threads", "--plugin", "python36", "--ini", "/uwsgi.ini"]
+CMD ["uwsgi", "--plugin", "python36", "--ini", "/uwsgi.ini"]
diff --git a/uwsgi/uwsgi.ini b/uwsgi/uwsgi.ini
index 645a98df..c99d0db7 100644
--- a/uwsgi/uwsgi.ini
+++ b/uwsgi/uwsgi.ini
@@ -4,7 +4,10 @@ chdir = /l10n/damnedlies
home = /l10n/venv
master = true
+enable-threads = true
+threads = 2
processes = 4
+max-worker-lifetime = 30
harakiri = 10
socket = 0.0.0.0:8000
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]