summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_external.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-12-24 18:04:09 +0300
committerMax Romanov <max.romanov@nginx.com>2019-12-24 18:04:09 +0300
commit64f649f9903e226421869376bc72a8513581d7d0 (patch)
tree02753ac43ca918167e64338311f4cc4d78edd8c8 /src/nxt_external.c
parent429c5a1c54fbc457c6caf6503525fd22225a4e22 (diff)
downloadunit-64f649f9903e226421869376bc72a8513581d7d0.tar.gz
unit-64f649f9903e226421869376bc72a8513581d7d0.tar.bz2
Adding "limits/shm" configuration validation and parsing.
Diffstat (limited to '')
-rw-r--r--src/nxt_external.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_external.c b/src/nxt_external.c
index 89fe08c8..e498a938 100644
--- a/src/nxt_external.c
+++ b/src/nxt_external.c
@@ -98,11 +98,11 @@ nxt_external_init(nxt_task_t *task, nxt_common_app_conf_t *conf)
"%s;%uD;"
"%PI,%ud,%d;"
"%PI,%ud,%d;"
- "%d,%Z",
+ "%d,%z,%Z",
NXT_VERSION, my_port->process->init->stream,
main_port->pid, main_port->id, main_port->pair[1],
my_port->pid, my_port->id, my_port->pair[0],
- 2);
+ 2, conf->shm_limit);
if (nxt_slow_path(p == end)) {
nxt_alert(task, "internal error: buffer too small for NXT_UNIT_INIT");