update gunicorn conf to currently deployed version
authorStefan Kögl <stefan@skoegl.net>
Sat, 27 Apr 2013 12:09:17 +0000 (27 14:09 +0200)
committerStefan Kögl <stefan@skoegl.net>
Sat, 27 Apr 2013 12:09:17 +0000 (27 14:09 +0200)
gunicorn.conf.py

index 6a2da55..c819ba7 100644 (file)
@@ -1,8 +1,15 @@
 import multiprocessing
 
-bind = "127.0.0.1:8000"
+bind='unix:/tmp/mygpo.sock'
 workers = multiprocessing.cpu_count() * 2 + 1
 worker_class = "gevent"
 
 # The maximum number of requests a worker will process before restarting.
-max_requests = 100000
+max_requests = 1000
+
+errorlog='/var/log/gunicorn/error.log'
+accesslog='/var/log/gunicorn/access.log'
+loglevel='info'
+
+timeout = 120
+graceful_timeout = 60