[extensions-web: 36/75] Put mod_wsgi in a daemon process to ease development.



commit c819eeb2f62cdc97e1d53ca529477ba746b5cc7a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Sep 16 18:14:36 2011 -0400

    Put mod_wsgi in a daemon process to ease development.

 etc/sweettooth.httpd.conf.example |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/etc/sweettooth.httpd.conf.example b/etc/sweettooth.httpd.conf.example
index f4323b2..89cc42e 100644
--- a/etc/sweettooth.httpd.conf.example
+++ b/etc/sweettooth.httpd.conf.example
@@ -2,6 +2,10 @@
         ServerName extensions.gnome.org
 
         WSGIScriptAlias / /home/jstpierre/Source/sweettooth/sweettooth.wsgi
+
+        WSGIDaemonProcess extensions.gnome.org processes=1 threads=10
+        WSGIProcessGroup extensions.gnome.org
+
         Alias /static/extension-data/ /home/jstpierre/Source/sweettooth/sweettooth/uploaded-files/
         Alias /static/ /home/jstpierre/Source/sweettooth/sweettooth/static/
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]