Enable worker-multiplier for wsgi
So that users can have a control over the number of processes to be spawend and database connections to be consumed. Change-Id: I7ffdafb807a604d89381a2fecaba8300f00e9691 Closes-Bug: #1677543
This commit is contained in:
parent
22017a5a8f
commit
3ba2652b10
@ -8,7 +8,7 @@ Listen {{ options.service_listen_info.barbican_worker.admin_port }}
|
||||
|
||||
<VirtualHost *:{{ options.service_listen_info.barbican_worker.public_port }}>
|
||||
WSGIScriptAlias / /usr/share/barbican/app.wsgi
|
||||
WSGIDaemonProcess barbican-api user=barbican group=barbican processes=3 threads=10
|
||||
WSGIDaemonProcess barbican-api user=barbican group=barbican processes={{ options.wsgi_worker_context.processes }} threads=1 display-name=%{GROUP}
|
||||
WSGIProcessGroup barbican-api
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
ErrorLog /var/log/barbican/barbican-api.log
|
||||
@ -17,7 +17,7 @@ Listen {{ options.service_listen_info.barbican_worker.admin_port }}
|
||||
|
||||
<VirtualHost *:{{ options.service_listen_info.barbican_worker.admin_port }}>
|
||||
WSGIScriptAlias / /usr/share/barbican/app.wsgi
|
||||
WSGIDaemonProcess barbican-api-admin user=barbican group=barbican processes=3 threads=10
|
||||
WSGIDaemonProcess barbican-api-admin user=barbican group=barbican processes={{ options.wsgi_worker_context.processes }} threads=1 display-name=%{GROUP}
|
||||
WSGIProcessGroup barbican-api-admin
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
ErrorLog /var/log/barbican/barbican-api.log
|
||||
|
Loading…
Reference in New Issue
Block a user