未验证 提交 216e0856 编写于 作者: L lilong12 提交者: GitHub

update, test=develop (#29139)

上级 5fe44571
......@@ -49,7 +49,7 @@ def _start_kv_server(port, http_server_d):
http_server = KVServer(int(port))
http_server.start()
wait_seconds = 5
while http_server_d.get("running", False):
while http_server_d.get("running", False) or not http_server.should_stop():
time.sleep(wait_seconds)
http_server.stop()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册