We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bb565b commit 80500f1Copy full SHA for 80500f1
vulnerabilities/pipelines/remove_duplicate_advisories.py
@@ -78,9 +78,9 @@ def recompute_content_ids(self):
78
logger=self.log,
79
)
80
81
- batch_size = 1000
+ batch_size = 50000
82
83
- for advisory in progress.iter(advisories.paginated()):
+ for advisory in progress.iter(advisories.paginated(per_page=batch_size)):
84
advisory.unique_content_id = compute_content_id(advisory.to_advisory_data())
85
advisories.append(advisory)
86
if len(advisories) % batch_size == 0:
0 commit comments