From ac9fe7be3cac3a55b9138e0d6998f3368eaea8ce Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Mon, 13 Feb 2012 13:43:21 +0100 Subject: [PATCH] [REV] gunicorn.conf.py: reverted temporary changes. bzr revid: vmt@openerp.com-20120213124321-l5ba59s3m95iszo8 --- gunicorn.conf.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index 427aab6f026..2400aa9fccd 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -21,7 +21,7 @@ pidfile = '.gunicorn.pid' # Gunicorn recommends 2-4 x number_of_cpu_cores, but # you'll want to vary this a bit to find the best for your # particular work load. -workers = 10 +workers = 4 # Some application-wide initialization is needed. on_starting = openerp.wsgi.core.on_starting @@ -34,8 +34,6 @@ timeout = 240 max_requests = 2000 -#accesslog = '/tmp/blah.txt' - # Equivalent of --load command-line option openerp.conf.server_wide_modules = ['web'] @@ -44,7 +42,7 @@ conf = openerp.tools.config # Path to the OpenERP Addons repository (comma-separated for # multiple locations) -conf['addons_path'] = '/home/thu/repos/addons/trunk,/home/thu/repos/web/trunk/addons' +conf['addons_path'] = '/home/openerp/addons/trunk,/home/openerp/web/trunk/addons' # Optional database config if not using local socket #conf['db_name'] = 'mycompany'