Commits

Andriy Kornatskyy committed 47b355d

Updated development uwsgi settings.

  • Participants
  • Parent commits 351a8a2

Comments (0)

Files changed (2)

File demos/public/development.ini

 
 [cache-profile]
+public-enabled = False
 static-enabled = True
-public-enabled = False
 
 [crypto]
 encryption-key = 4oqiKhW3qzP2EiattMt7
-validation-key = A7GfjxIBCBA3vNqvafWf
 ticket-max-age = 1200
 ticket-salt = JNbCog95cDTo1NRb7inP
+validation-key = A7GfjxIBCBA3vNqvafWf
 
 [mako]
-filesystem-checks = True
+filesystem-checks = False
 module-directory = /tmp/mako_modules
 
 [uwsgi]
 wsgi = app:main
-protocol = uwsgi
-socket = /tmp/uwsgi-test.sock
+#uwsgi-socket = /tmp/uwsgi-test.sock
+http-socket = 0.0.0.0:8080
+uid = www-data
+gid = www-data
 chmod-socket = 777
 umask = 000
-harakiri = 5
-optimize = O2
+harakiri = 10
+optimize = 2
 master = True
 processes = 1
+chdir = .
 virtualenv = ../../env
 pythonpath = src
 disable-logging = True
 no-default-app = True
 auto-procname = True
 procname-prefix = MySite-
-limit-as = 30
+limit-as = 20
+buffer-size = 2048
+post-buffering = 1024
 limit-post = 1024
-chdir = .
-idle = 60
+idle = 300
+#python-auto-reload = 2
+lazy = True
+static-map = /static=content/static
+static-map = /favicon.ico=content/static/img/favicon.ico

File demos/template/development.ini

 
 [cache-profile]
+public-enabled = False
 static-enabled = True
-public-enabled = False
 
 [crypto]
 encryption-key = r0sWsYR3dHUcrPWeTcB7
-validation-key = kTrdyg9ZwcNyE6YKoPJU
 ticket-max-age = 1200
 ticket-salt = WmMFjzVbSpWlCKb6cOC4
+validation-key = kTrdyg9ZwcNyE6YKoPJU
 
 [mako]
-filesystem-checks = True
+filesystem-checks = False
 module-directory = /tmp/mako_modules
 
 [uwsgi]
 wsgi = app:main
-protocol = uwsgi
-socket = /tmp/uwsgi-test.sock
+#uwsgi-socket = /tmp/uwsgi-test.sock
+http-socket = 0.0.0.0:8080
+uid = www-data
+gid = www-data
 chmod-socket = 777
 umask = 000
-harakiri = 5
-optimize = O2
+harakiri = 10
+optimize = 2
 master = True
 processes = 1
+chdir = .
 virtualenv = ../../env
 pythonpath = src
 disable-logging = True
 no-default-app = True
 auto-procname = True
 procname-prefix = MySite-
-limit-as = 30
+limit-as = 20
+buffer-size = 2048
+post-buffering = 1024
 limit-post = 1024
-chdir = .
-idle = 60
+idle = 300
+#python-auto-reload = 2
+lazy = True
+static-map = /static=content/static
+static-map = /favicon.ico=content/static/img/favicon.ico