diff options
author | Max Romanov <max.romanov@nginx.com> | 2019-12-24 18:04:09 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2019-12-24 18:04:09 +0300 |
commit | 64f649f9903e226421869376bc72a8513581d7d0 (patch) | |
tree | 02753ac43ca918167e64338311f4cc4d78edd8c8 /src/nxt_external.c | |
parent | 429c5a1c54fbc457c6caf6503525fd22225a4e22 (diff) | |
download | unit-64f649f9903e226421869376bc72a8513581d7d0.tar.gz unit-64f649f9903e226421869376bc72a8513581d7d0.tar.bz2 |
Adding "limits/shm" configuration validation and parsing.
Diffstat (limited to 'src/nxt_external.c')
-rw-r--r-- | src/nxt_external.c | 4 |
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"); |