Skip to content

Commit 4aa0112

Browse files
committed
lower default chunksize of list_iter() from 10k to 1k
1 parent 90315bc commit 4aa0112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapinghub/client/items.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def _modify_iter_params(self, params):
7474
params['start'] = '{}/{}'.format(self.key, offset)
7575
return params
7676

77-
def list_iter(self, chunksize=10000, *args, **kwargs):
77+
def list_iter(self, chunksize=1000, *args, **kwargs):
7878
"""An alternative interface for reading items by returning them
7979
as a generator which yields lists of items sized as `chunksize`.
8080

0 commit comments

Comments
 (0)