From aacf11152c314efb1895b6d44ba72dc9f1801c7d Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Thu, 28 May 2020 12:41:00 +0300 Subject: Moving nxt_stream_ident to shared memory. This aims to avoid stream id clashes after router restart. --- src/nxt_runtime.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/nxt_runtime.c') diff --git a/src/nxt_runtime.c b/src/nxt_runtime.c index bcd156ee..ea01f06f 100644 --- a/src/nxt_runtime.c +++ b/src/nxt_runtime.c @@ -118,6 +118,10 @@ nxt_runtime_create(nxt_task_t *task) goto fail; } + if (nxt_port_rpc_init() != NXT_OK) { + goto fail; + } + nxt_work_queue_add(&task->thread->engine->fast_work_queue, nxt_runtime_start, task, rt, NULL); -- cgit