Extend sleep time to 10 seconds in switch_service (#4618)

Increase sleep duration before switching services.
This commit is contained in:
Zhang Yulong
2025-10-28 15:19:21 +08:00
committed by GitHub
parent 86d5006a57
commit b4014834a9

View File

@@ -299,7 +299,7 @@ def switch_service():
"""切换模型服务"""
# kill掉已有服务
stop_server()
time.sleep(2)
time.sleep(10)
try:
base_config = DEFAULT_PARAMS