diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-11-05 16:10:59 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-11-05 16:10:59 +0300 |
commit | d321d454f9304b083d62280d0621f282a74047ee (patch) | |
tree | 6b943c825614a541a2ebde01c08c66097b0eac79 /src/nxt_main_process.c | |
parent | e17e73eddab015b8942d2228780bbd9afcc5e392 (diff) | |
download | unit-d321d454f9304b083d62280d0621f282a74047ee.tar.gz unit-d321d454f9304b083d62280d0621f282a74047ee.tar.bz2 |
Perl: request processing in multiple threads.
This closes #486 issue on GitHub.
Diffstat (limited to 'src/nxt_main_process.c')
-rw-r--r-- | src/nxt_main_process.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index 631b3146..99fc7995 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -233,6 +233,18 @@ static nxt_conf_map_t nxt_perl_app_conf[] = { NXT_CONF_MAP_CSTRZ, offsetof(nxt_common_app_conf_t, u.perl.script), }, + + { + nxt_string("threads"), + NXT_CONF_MAP_INT32, + offsetof(nxt_common_app_conf_t, u.perl.threads), + }, + + { + nxt_string("thread_stack_size"), + NXT_CONF_MAP_INT32, + offsetof(nxt_common_app_conf_t, u.perl.thread_stack_size), + }, }; |