summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-11-05 00:04:59 +0300
committerMax Romanov <max.romanov@nginx.com>2020-11-05 00:04:59 +0300
commit8dcb0b9987033d0349a6ecf528014a9daa574787 (patch)
tree34a79dc0f21f6b3c76378343cc94682f25c6b417 /src/nxt_application.h
parent4225361f0ea7d230c80209d76fbc67a932651380 (diff)
downloadunit-8dcb0b9987033d0349a6ecf528014a9daa574787.tar.gz
unit-8dcb0b9987033d0349a6ecf528014a9daa574787.tar.bz2
Python: request processing in multiple threads.
This closes #459 issue on GitHub.
Diffstat (limited to 'src/nxt_application.h')
-rw-r--r--src/nxt_application.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h
index cb49a033..7f8ec1ba 100644
--- a/src/nxt_application.h
+++ b/src/nxt_application.h
@@ -51,6 +51,8 @@ typedef struct {
nxt_str_t path;
nxt_str_t module;
char *callable;
+ uint32_t threads;
+ uint32_t thread_stack_size;
} nxt_python_app_conf_t;