Merge "Set wsgi name to application"

This commit is contained in:
Jenkins 2017-02-23 14:15:08 +00:00 committed by Gerrit Code Review
commit 55e0cce3e7
2 changed files with 3 additions and 2 deletions

View File

@ -156,7 +156,6 @@ function configure_zaqar {
iniset $ZAQAR_UWSGI_CONF uwsgi processes 1
iniset $ZAQAR_UWSGI_CONF uwsgi threads 4
iniset $ZAQAR_UWSGI_CONF uwsgi wsgi-file $ZAQAR_DIR/zaqar/transport/wsgi/app.py
iniset $ZAQAR_UWSGI_CONF uwsgi callable app
iniset $ZAQAR_UWSGI_CONF uwsgi master true
iniset $ZAQAR_UWSGI_CONF uwsgi add-header "Connection: close"

View File

@ -39,4 +39,6 @@ log.setup(conf, 'zaqar')
boot = bootstrap.Bootstrap(conf)
conf.drivers.transport = 'wsgi'
app = boot.transport.app
application = boot.transport.app
# Keep the old name for compatibility
app = application