a little experiment with zmq polling2

workspace
Brendan Howell 7 years ago
parent 2e561bbed9
commit 1c2af31314

@ -312,7 +312,6 @@ class Bureau(object):
poller.register(self._recv, zmq.POLLIN) poller.register(self._recv, zmq.POLLIN)
while True: while True:
try:
msgs = dict(poller.poll(500)) msgs = dict(poller.poll(500))
if msgs: if msgs:
if msgs.get(self._recv) == zmq.POLLIN: if msgs.get(self._recv) == zmq.POLLIN:

Loading…
Cancel
Save