fix the bug in gloo (#29112)

* update, test=develop
musl/disable_test_yolov3_temporarily
lilong12 4 years ago committed by GitHub
parent 7de2db4a81
commit 2a864c70c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()

Loading…
Cancel
Save