diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-09-28 16:09:29 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-09-28 16:11:22 +0200 |
commit | ebdbbc59f35b69f3502cfcaa56dd3dd5349bc28c (patch) | |
tree | 2e5faa47a113e58632ecd05c9ca5c027aa49c7e3 /config-model/src/main/resources/schema | |
parent | 168f8847334518c8efe73478805a580b5f5e23a6 (diff) |
Introduce new threadpool syntax
Diffstat (limited to 'config-model/src/main/resources/schema')
-rw-r--r-- | config-model/src/main/resources/schema/containercluster.rnc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/config-model/src/main/resources/schema/containercluster.rnc b/config-model/src/main/resources/schema/containercluster.rnc index 74f6b5b003c..c10b5a66e06 100644 --- a/config-model/src/main/resources/schema/containercluster.rnc +++ b/config-model/src/main/resources/schema/containercluster.rnc @@ -126,9 +126,15 @@ SslProvider = element ssl-provider { } Threadpool = element threadpool { - element max-threads { xsd:nonNegativeInteger } & - element min-threads { xsd:nonNegativeInteger } & - element queue-size { xsd:nonNegativeInteger } + (( + # TODO Vespa 9 Remove max-threads / min-threads / queue-size + element max-threads { xsd:nonNegativeInteger } & + element min-threads { xsd:nonNegativeInteger } & + element queue-size { xsd:nonNegativeInteger } + )|( + element threads { xsd:double { minExclusive = "0.0" } & attribute boost { xsd:double { minExclusive = "0.0" } }? }? & + element queue { xsd:double { minInclusive = "0.0" } }? + )) } Clients = element clients { |