Set curSize in ObjQueue()
This commit is contained in:
parent
5c7bbed0f5
commit
d01d431833
|
@ -18,6 +18,7 @@ class ObjQueue(object):
|
|||
}
|
||||
|
||||
def __init__(self, tag=b'obj'):
|
||||
self.curSize = 0
|
||||
context = zmq.Context()
|
||||
self.socket = context.socket(zmq.SUB)
|
||||
self.socket.connect('tcp://localhost:5556')
|
||||
|
|
Reference in New Issue
Block a user