Skip to content

Commit 0480652

Browse files
authored
Increase default page_size to 1000
Page size of 100 was far too conservative. 1000 will dramatically improve exec times for most users, whilst remaining manageable for resources with many results.
1 parent a84527a commit 0480652

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=100, **kwargs):
237+
def get_items(self, url, page_size=1000, **kwargs):
238238
"""Fetch 'pages' of items
239239
240240
Args:

0 commit comments

Comments
 (0)