diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-11-05 00:06:10 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-11-05 00:06:10 +0300 |
commit | 29db46c52ba0f05706d83ed75d88e4b57bac36e5 (patch) | |
tree | 81c75a66a09330b27664b07bf8856fbdb07995fa /src/nxt_main_process.c | |
parent | f27953af6103db390aa3eee012a254f130fdf5f4 (diff) | |
download | unit-29db46c52ba0f05706d83ed75d88e4b57bac36e5.tar.gz unit-29db46c52ba0f05706d83ed75d88e4b57bac36e5.tar.bz2 |
Java: request processing in multiple threads.
This closes #458 issue on GitHub.
Diffstat (limited to 'src/nxt_main_process.c')
-rw-r--r-- | src/nxt_main_process.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index 16c405ac..ce8d6916 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -266,6 +266,16 @@ static nxt_conf_map_t nxt_java_app_conf[] = { NXT_CONF_MAP_CSTRZ, offsetof(nxt_common_app_conf_t, u.java.unit_jars), }, + { + nxt_string("threads"), + NXT_CONF_MAP_INT32, + offsetof(nxt_common_app_conf_t, u.java.threads), + }, + { + nxt_string("thread_stack_size"), + NXT_CONF_MAP_INT32, + offsetof(nxt_common_app_conf_t, u.java.thread_stack_size), + }, }; |