fix: base control port on engine port to avoid conflicts (port+100)
This commit is contained in:
@@ -178,7 +178,7 @@ static void handle_request(const std::string& method, const std::string& path,
|
||||
}
|
||||
} else if (path == "/api/graph/start" && method == "POST") {
|
||||
auto nodes = graph.get_nodes();
|
||||
uint16_t port = 9100;
|
||||
uint16_t port = g_impl->port + 100;
|
||||
for (auto& node : nodes) {
|
||||
pm.start_node(const_cast<GraphNode&>(node), g_impl->mxl_domain, port);
|
||||
cc.register_node(node.id, port);
|
||||
|
||||
Reference in New Issue
Block a user