Merge "Correct default number of threads"
This commit is contained in:
commit
7f0e56d305
@ -50,7 +50,7 @@
|
||||
#
|
||||
# [*threads*]
|
||||
# (optional) The number of threads for the vhost.
|
||||
# Defaults to 1
|
||||
# Defaults to 15
|
||||
#
|
||||
# [*wsgi_process_display_name*]
|
||||
# (optional) Name of the WSGI process display-name.
|
||||
@ -112,7 +112,7 @@ class ironic::wsgi::apache (
|
||||
$ssl_crl = undef,
|
||||
$ssl_certs_dir = undef,
|
||||
$wsgi_process_display_name = undef,
|
||||
$threads = 1,
|
||||
$threads = 15,
|
||||
$priority = '10',
|
||||
$access_log_file = false,
|
||||
$access_log_format = false,
|
||||
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes default configuration where only a single concurrent thread was
|
||||
permitted per WSGI worker process, which does not match the upstream
|
||||
configuration where threads are enabled per each spawned worker process.
|
||||
This allows for greater request concurrency to prevent situations where
|
||||
the webserver may incorrectly return a 500 error due to the server being
|
||||
unable to process the request in time.
|
@ -14,7 +14,7 @@ describe 'ironic::wsgi::apache' do
|
||||
:path => '/',
|
||||
:servername => facts[:fqdn],
|
||||
:ssl => true,
|
||||
:threads => 1,
|
||||
:threads => 15,
|
||||
:user => 'ironic',
|
||||
:workers => facts[:os_workers],
|
||||
:wsgi_daemon_process => 'ironic',
|
||||
@ -56,7 +56,7 @@ describe 'ironic::wsgi::apache' do
|
||||
:path => '/',
|
||||
:servername => 'dummy.host',
|
||||
:ssl => false,
|
||||
:threads => 1,
|
||||
:threads => 15,
|
||||
:user => 'ironic',
|
||||
:workers => 37,
|
||||
:wsgi_daemon_process => 'ironic',
|
||||
|
Loading…
Reference in New Issue
Block a user