devstack: use $API_WORKERS to set the number of WSGI workers in Apache
Change-Id: I037bf5507b9944d6491b44069f7966ca70e773eb
This commit is contained in:
parent
12ca732740
commit
6f47485521
@ -1,7 +1,7 @@
|
||||
Listen %PORT%
|
||||
|
||||
<VirtualHost *:%PORT%>
|
||||
WSGIDaemonProcess aodh-api processes=2 threads=10 user=%USER% display-name=%{GROUP} %VIRTUALENV%
|
||||
WSGIDaemonProcess aodh-api processes=%APIWORKERS% threads=10 user=%USER% display-name=%{GROUP} %VIRTUALENV%
|
||||
WSGIProcessGroup aodh-api
|
||||
WSGIScriptAlias / %WSGIAPP%
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
|
@ -89,6 +89,7 @@ function _aodh_config_apache_wsgi {
|
||||
s|%APACHE_NAME%|$APACHE_NAME|g;
|
||||
s|%WSGIAPP%|$AODH_WSGI_DIR/app|g;
|
||||
s|%USER%|$STACK_USER|g;
|
||||
s|%APIWORKERS%|$API_WORKERS|g;
|
||||
s|%VIRTUALENV%|$venv_path|g
|
||||
" -i $aodh_apache_conf
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user