未验证 提交 2a864c70 编写于 作者: L lilong12 提交者: GitHub

fix the bug in gloo (#29112)

* update, test=develop
上级 7de2db4a
......@@ -175,7 +175,8 @@ class Gloo(object):
http_server = KVServer(port, size_d)
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.
先完成此消息的编辑!
想要评论请 注册