From d01d4318333941189f81633180b3c76cc75dca24 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Mon, 2 Aug 2021 21:30:06 +0300 Subject: [PATCH] Set curSize in ObjQueue() --- src/tests/queue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/queue.py b/src/tests/queue.py index cc5b14ea..71863b54 100644 --- a/src/tests/queue.py +++ b/src/tests/queue.py @@ -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')