Skip to content

Commit dff95a3

Browse files
committed
Use a smaller queue for better characteristics
1 parent 49ab675 commit dff95a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/isal/igzip_threaded.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def __init__(self,
198198
buffer_size: int = 1024 * 1024,
199199
level: int = isal_zlib.ISAL_DEFAULT_COMPRESSION,
200200
threads: int = 1,
201-
queue_size: int = 2):
201+
queue_size: int = 1):
202202
self.lock = threading.Lock()
203203
self.exception: Optional[Exception] = None
204204
self.raw = fp

0 commit comments

Comments
 (0)