Skip to content

Commit 30fabfe

Browse files
committed
fix bug
1 parent 8db11c7 commit 30fabfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gpt_server/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def start_server(
141141
logger.warning(
142142
f"端口:{used_ports} 已被占用!为了系统的正常运行,请确保是被已启动的gpt_server服务占用。"
143143
)
144-
if 21001 not in used_ports:
144+
if controller_port not in used_ports:
145145
# 启动控制器
146146
start_controller(controller_host, controller_port, dispatch_method)
147147
if port not in used_ports:

0 commit comments

Comments
 (0)