mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 03:30:05 -05:00
Queue -> Channel
This commit is contained in:
parent
10a45d4036
commit
0f8d2916d7
2
dist/client.py
vendored
2
dist/client.py
vendored
@ -30,7 +30,7 @@ class RenderClient(object):
|
||||
self.rsock.setsockopt(zmq.IDENTITY, self.cid)
|
||||
self.rsock.connect(rsp_addr)
|
||||
|
||||
self.tq = queue.Queue(0)
|
||||
self.tq = queue.Channel()
|
||||
|
||||
self.taskmap = weakref.WeakValueDictionary()
|
||||
if start: self.start()
|
||||
|
2
dist/server.py
vendored
2
dist/server.py
vendored
@ -93,7 +93,7 @@ def setup_responder(addrs, rq):
|
||||
|
||||
def main(addrs):
|
||||
# Channel holding (addr, task) pairs.
|
||||
tq = queue.Queue(0)
|
||||
tq = queue.Channel()
|
||||
# Queue holding response messages (as a list of raw zmq frames).
|
||||
rq = queue.Queue()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user