diff docs/setup.rst @ 6762:716e53c085ff stable

config: clarify that we only recommend and support single threaded operation Sad, but true. Especially because we reuse Repository instances between threads.
author Mads Kiilerich <madski@unity3d.com>
date Tue, 06 Sep 2016 00:51:18 +0200
parents cc21a2b86a30
children 99cd328da2a1
line wrap: on
line diff
--- a/docs/setup.rst	Thu Jul 28 16:28:34 2016 +0200
+++ b/docs/setup.rst	Tue Sep 06 00:51:18 2016 +0200
@@ -735,8 +735,7 @@
 
 .. code-block:: apache
 
-    WSGIDaemonProcess kallithea \
-        threads=4 \
+    WSGIDaemonProcess kallithea processes=5 threads=1 maximum-requests=100 \
         python-home=/srv/kallithea/venv
     WSGIProcessGroup kallithea
     WSGIScriptAlias / /srv/kallithea/dispatch.wsgi
@@ -746,7 +745,7 @@
 
 .. code-block:: apache
 
-    WSGIDaemonProcess kallithea threads=4
+    WSGIDaemonProcess kallithea processes=5 threads=1 maximum-requests=100
     WSGIProcessGroup kallithea
     WSGIScriptAlias / /srv/kallithea/dispatch.wsgi
     WSGIPassAuthorization On