[Usability] Improvement on hr_expense :
[odoo/odoo.git] / gunicorn.conf.py
1 import openerp
2 # Standard OpenERP XML-RPC port.
3 bind = '127.0.0.1:8069'
4 pidfile = '.gunicorn.pid'
5 # This is the big TODO: safely use more than a single worker.
6 workers = 1
7 # Some application-wide initialization is needed.
8 on_starting = openerp.wsgi.on_starting
9 when_ready = openerp.wsgi.when_ready
10 timeout = 240 # openerp request-response cycle can be quite long
11
12 # Setting openerp.conf.xxx will be better than setting
13 # openerp.tools.config['xxx']
14 conf = openerp.tools.config
15 conf['addons_path'] = '/home/openerp/repos/addons/trunk-xmlrpc'
16 conf['static_http_document_root'] = '/tmp'
17 #conf['log_level'] = 10 # 10 is DEBUG
18
19 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: