We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4100f1 commit 0ab2e8cCopy full SHA for 0ab2e8c
1 file changed
apps/backend/agent/solution_maker.py
@@ -244,9 +244,13 @@ def _enable_proxy_config() -> str:
244
245
def get_run_cmd_base_params(self) -> typing.List[str]:
246
port_config: typing.Dict[str, typing.Any] = self.host_ap.port_config
247
+ if self.host.node_type == constants.NodeType.PROXY:
248
+ io_port = port_config.get("upstream_io_port") or port_config.get("io_port")
249
+ else:
250
+ io_port = port_config.get("io_port")
251
run_cmd_params: typing.List[str] = [
252
# 端口信息
- f'-O {port_config.get("io_port")}',
253
+ f'-O {io_port}',
254
f'-E {port_config.get("file_svr_port")}',
255
f'-A {port_config.get("data_port")}',
256
f'-V {port_config.get("btsvr_thrift_port")}',
0 commit comments