Skip to content

Commit 785dfd6

Browse files
authored
Diminishing returns beyond 250
Average time taken to get 1000 items, with varying page sizes: page_size | Local to Blackduck 100 | 18.878 150 | 16.700 200 | 15.696 250 | 13.675 500 | 13.702 1000 | 13.736
1 parent 0480652 commit 785dfd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blackduck/Client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def get_json(self, url, **kwargs):
234234
self.http_error_handler(r)
235235
raise
236236

237-
def get_items(self, url, page_size=1000, **kwargs):
237+
def get_items(self, url, page_size=250, **kwargs):
238238
"""Fetch 'pages' of items
239239
240240
Args:

0 commit comments

Comments
 (0)