We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53bd821 commit 66a4d41Copy full SHA for 66a4d41
src/ngx_http_lua_worker.c
@@ -98,7 +98,7 @@ ngx_http_lua_ffi_get_process_type(void)
98
99
100
int
101
-ngx_http_lua_ffi_enable_privileged_agent(char **err)
+ngx_http_lua_ffi_enable_privileged_agent(char **err, unsigned int connections)
102
{
103
#ifdef HAVE_PRIVILEGED_PROCESS_PATCH
104
ngx_core_conf_t *ccf;
@@ -107,6 +107,7 @@ ngx_http_lua_ffi_enable_privileged_agent(char **err)
107
ngx_core_module);
108
109
ccf->privileged_agent = 1;
110
+ ccf->privileged_agent_connections = connections;
111
112
return NGX_OK;
113
0 commit comments