Skip to content

Commit fee3b67

Browse files
committed
Set default chunk_size to 1
1 parent 7422167 commit fee3b67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyteomics/auxiliary/file_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ class ThreadingTaskMappingMixin(BaseTaskMappingMixin):
11511151
The use of threaded parallelism is warranted in free-threaded environments,
11521152
such as the `experimental free-threaded CPython interpreter <https://docs.python.org/3/howto/free-threading-python.html>`_.
11531153
"""
1154-
chunk_size: int = 100
1154+
chunk_size: int = 1
11551155

11561156
def map(self, target=None, workers=None, args=None, kwargs=None, chunk_size=None, **_kwargs):
11571157
"""

0 commit comments

Comments
 (0)