queue_iter fix

This commit is contained in:
simon987 2021-09-19 12:44:49 -04:00
parent 71cd00c063
commit f4a5e6cf53
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ class StatefulStreamWorker:
pass
def run(self, q: Queue):
for chunk in queue_iter(q, timeout=3):
for chunk in queue_iter(q, joinable=False, timeout=3):
self.process_chunk(chunk)
def process_chunk(self, chunk):

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name="hexlib",
version="1.53",
version="1.54",
description="Misc utility methods",
author="simon987",
author_email="me@simon987.net",