mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-04 02:12:59 +00:00
queue_iter fix
This commit is contained in:
parent
71cd00c063
commit
f4a5e6cf53
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user