X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=gunicorn.conf.py;h=7f23553a1ded77ec9bca4e1570c9e2963a32978f;hb=a3435487cfa5d737eba919de7529e625bb360375;hp=0f1d93a8638532beb0b13b858c91c643664451e4;hpb=b76a80944f344d4489bd343ac06a79b526fa8152;p=odoo%2Fodoo.git diff --git a/gunicorn.conf.py b/gunicorn.conf.py index 0f1d93a..7f23553 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -1,15 +1,11 @@ # Gunicorn sample configuration file. # See http://gunicorn.org/configure.html for more details. # -# To run the OpenERP server via Gunicorn, change the appropriate +# To run OpenERP via Gunicorn, change the appropriate # settings below, in order to provide the parameters that # would normally be passed in the command-line, # (at least `bind` and `conf['addons_path']`), then execute: -# $ gunicorn openerp:wsgi.core.application -c gunicorn.conf.py -# or if you want to run it behind a reverse proxy, add the line -# import openerp.wsgi.proxied -# in this file and execute: -# $ gunicorn openerp:wsgi.proxied.application -c gunicorn.conf.py +# $ gunicorn openerp:wsgi.application -c gunicorn.conf.py import openerp @@ -24,10 +20,10 @@ pidfile = '.gunicorn.pid' workers = 4 # Some application-wide initialization is needed. -on_starting = openerp.wsgi.core.on_starting -when_ready = openerp.wsgi.core.when_ready -pre_request = openerp.wsgi.core.pre_request -post_request = openerp.wsgi.core.post_request +on_starting = openerp.wsgi.on_starting +when_ready = openerp.wsgi.when_ready +pre_request = openerp.wsgi.pre_request +post_request = openerp.wsgi.post_request # openerp request-response cycle can be quite long for # big reports for example