summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-11-05 00:06:10 +0300
committerMax Romanov <max.romanov@nginx.com>2020-11-05 00:06:10 +0300
commit29db46c52ba0f05706d83ed75d88e4b57bac36e5 (patch)
tree81c75a66a09330b27664b07bf8856fbdb07995fa /src/nxt_conf_validation.c
parentf27953af6103db390aa3eee012a254f130fdf5f4 (diff)
downloadunit-29db46c52ba0f05706d83ed75d88e4b57bac36e5.tar.gz
unit-29db46c52ba0f05706d83ed75d88e4b57bac36e5.tar.bz2
Java: request processing in multiple threads.
This closes #458 issue on GitHub.
Diffstat (limited to 'src/nxt_conf_validation.c')
-rw-r--r--src/nxt_conf_validation.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c
index 97a13e38..1ce2d9ea 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -639,6 +639,14 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_java_members[] = {
}, {
.name = nxt_string("unit_jars"),
.type = NXT_CONF_VLDT_STRING,
+ }, {
+ .name = nxt_string("threads"),
+ .type = NXT_CONF_VLDT_INTEGER,
+ .validator = nxt_conf_vldt_threads,
+ }, {
+ .name = nxt_string("thread_stack_size"),
+ .type = NXT_CONF_VLDT_INTEGER,
+ .validator = nxt_conf_vldt_thread_stack_size,
},
NXT_CONF_VLDT_NEXT(nxt_conf_vldt_common_members)