summaryrefslogtreecommitdiff
path: root/config/django.ini
diff options
context:
space:
mode:
Diffstat (limited to 'config/django.ini')
-rw-r--r--config/django.ini7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/django.ini b/config/django.ini
index 328de80..9fbe980 100644
--- a/config/django.ini
+++ b/config/django.ini
@@ -2,8 +2,9 @@
[uwsgi]
# maximum number of processes
-processes = 3
-
+processes = 4
+max-requests = 5000
+enable-threads = true
# the socket (use the full path to be safe)
uid = www-data
gid = www-data
@@ -21,7 +22,7 @@ module =config.wsgi
# the virtualenv
home = /home/lxf/apps/luxagraf/venv
-buffer-size =32768
+buffer-size =65535
plugin=python
limit-as = 2048
# clear environment on exit