Moving nxt_stream_ident to shared memory.

This aims to avoid stream id clashes after router restart.
This commit is contained in:
Max Romanov
2020-05-28 12:41:00 +03:00
parent de368f033d
commit aacf11152c
3 changed files with 31 additions and 3 deletions

View File

@@ -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);