d = h.split('.')[0]
r = openerp.tools.config['dbfilter'].replace('%h', h).replace('%d', d)
+ try:
- + f = req.httprequest.environ['HTTP_OPENERP_DB_FILTER'] or ''
+ + f = req.httprequest.environ['HTTP_OPENERP_DB_FILTER']
+ r = r.replace('%f', f)
+ except KeyError:
+ pass
--stop-after-init \
--timezone="$(cat /etc/timezone)" \
--without-demo=base \
- --workers=4 \
+ --workers=0 \
--xmlrpc-interface=127.0.0.1 \
--xmlrpc-port=8069
#--no-database-list \