Java: request processing in multiple threads.

This closes #458 issue on GitHub.
This commit is contained in:
Max Romanov
2020-11-05 00:06:10 +03:00
parent f27953af61
commit 29db46c52b
4 changed files with 205 additions and 14 deletions

View File

@@ -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),
},
};