]
Stuart Douglas moved JBEAP-7090 to WFLY-7566:
---------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7566 (was: JBEAP-7090)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: mod_cluster
Web (Undertow)
(was: mod_cluster)
(was: Web (Undertow))
Affects Version/s: (was: 7.1.0.DR7)
connections-per-thread description and default value
----------------------------------------------------
Key: WFLY-7566
URL:
https://issues.jboss.org/browse/WFLY-7566
Project: WildFly
Issue Type: Bug
Components: mod_cluster, Web (Undertow)
Reporter: Stuart Douglas
Assignee: Stuart Douglas
Priority: Minor
Description for
{{/subsystem=undertow/configuration=filter/mod-cluster=load-balancer\[connections-per-thread\]}}
{code}
"connections-per-thread" => {
"type" => INT,
"description" => "The number of connections that will
be maintained to backend servers, per IO thread. Defaults to 10.",
"expressions-allowed" => true,
"nillable" => true,
"default" => 40,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "no-services"
},
{code}
and for
{{/profile=load-balancer/subsystem=undertow/configuration=handler/reverse-proxy=my-rev-proxy\[connections-per-thread\]}}
{code}
"connections-per-thread" => {
"type" => INT,
"description" => "The number of connections that will
be maintained to backend servers, per IO thread. Defaults to 10.",
"expressions-allowed" => true,
"nillable" => true,
"default" => 10,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "no-services"
},
{code}
I can see one or maybe two problems there:
# Description for {{connections-per-thread}} in {{mod-cluster}} element is wrong as it
does not reflect reality as it says that default value for that attribute is {{10}}, but
in fact default value there is {{40}}. Maybe we should just remove information about
default value from the description completely?
# Is not actually wrong that those two attributes have different default value as they
basically reffer to the same thing althgouth one in the {{mod-cluster}} and second in the
{{reverse-proxy}}?