From f60389a782470e31dc555ab864784b536f2544ca Mon Sep 17 00:00:00 2001 From: Oisin Canty Date: Thu, 20 May 2021 13:02:45 +0000 Subject: Python: support for multiple targets. --- src/nxt_main_process.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/nxt_main_process.c') diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index f20f2c2c..00f336f6 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -210,6 +210,12 @@ static nxt_conf_map_t nxt_python_app_conf[] = { offsetof(nxt_common_app_conf_t, u.python.threads), }, + { + nxt_string("targets"), + NXT_CONF_MAP_PTR, + offsetof(nxt_common_app_conf_t, u.python.targets), + }, + { nxt_string("thread_stack_size"), NXT_CONF_MAP_INT32, -- cgit