Unverified Commit cc858953 authored by Lianmin Zheng's avatar Lianmin Zheng Committed by GitHub
Browse files

Fix recv_requests (#2405)

parent 6128f7cf
...@@ -445,6 +445,7 @@ class Scheduler: ...@@ -445,6 +445,7 @@ class Scheduler:
recv_req = self.recv_from_tokenizer.recv_pyobj(zmq.NOBLOCK) recv_req = self.recv_from_tokenizer.recv_pyobj(zmq.NOBLOCK)
except zmq.ZMQError: except zmq.ZMQError:
break break
recv_reqs.append(recv_req)
else: else:
recv_reqs = None recv_reqs = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment