From b3aab8c66fa7269147a6696c98a52971020be6e8 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Thu, 19 Oct 2017 17:37:19 +0300 Subject: Filtering process to keep connection. - Main process should be connected to all other processes. - Controller should be connected to Router. - Router should be connected to Controller and all Workers. - Workers should be connected to Router worker thread ports only. This filtering helps to avoid unnecessary communication and various errors during massive application workers stop / restart. --- src/nxt_port.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/nxt_port.h') diff --git a/src/nxt_port.h b/src/nxt_port.h index bade2adb..0d913df5 100644 --- a/src/nxt_port.h +++ b/src/nxt_port.h @@ -227,8 +227,6 @@ nxt_int_t nxt_port_socket_write(nxt_task_t *task, nxt_port_t *port, void nxt_port_enable(nxt_task_t *task, nxt_port_t *port, nxt_port_handlers_t *handlers); -void nxt_port_send_new_port(nxt_task_t *task, nxt_runtime_t *rt, - nxt_port_t *port, uint32_t stream); nxt_int_t nxt_port_send_port(nxt_task_t *task, nxt_port_t *port, nxt_port_t *new_port, uint32_t stream); void nxt_port_change_log_file(nxt_task_t *task, nxt_runtime_t *rt, -- cgit