Skip to content

Commit 060af18

Browse files
committed
Add logs
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 0906a3b commit 060af18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vulnerabilities/pipelines/remove_duplicate_advisories.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def recompute_content_ids(self):
8181
batch_size = 50000
8282

8383
for advisory in progress.iter(advisories.paginated(per_page=batch_size)):
84+
self.log(f"Recomputing content ID for advisory {advisory.id}", level=logging.INFO)
8485
advisory.unique_content_id = compute_content_id(advisory.to_advisory_data())
8586
advisories_list.append(advisory)
8687
if len(advisories_list) % batch_size == 0:

0 commit comments

Comments
 (0)