Set wsgi name to application
The standard name for the WSGI callable is application, let's use that. We'll keep app for compatiblity purposes. Change-Id: I2138ef05b985dcfeba108c8a5441206b2c4ae1a7
This commit is contained in:
parent
d27e784cfa
commit
871860be98
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user