File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -349,8 +349,7 @@ def delete_group_hashes(
349349 # 2. Delete the GroupHashMetadata rows entirely (they'll be deleted anyway)
350350 # If we update the columns first, the deletion of the grouphash metadata rows will have less work to do,
351351 # thus, improving the performance of the deletion.
352- if options .get ("deletions.group-hashes-metadata.update-seer-matched-grouphash-ids" ):
353- update_group_hash_metadata_in_batches (hash_ids )
352+ update_group_hash_metadata_in_batches (hash_ids )
354353 GroupHashMetadata .objects .filter (grouphash_id__in = hash_ids ).delete ()
355354 GroupHash .objects .filter (id__in = hash_ids ).delete ()
356355
Original file line number Diff line number Diff line change 348348 type = Int ,
349349 flags = FLAG_AUTOMATOR_MODIFIABLE ,
350350)
351- register (
352- "deletions.group-hashes-metadata.update-seer-matched-grouphash-ids" ,
353- default = False ,
354- type = Bool ,
355- flags = FLAG_AUTOMATOR_MODIFIABLE ,
356- )
357351register (
358352 "deletions.activity.delete-in-bulk" ,
359353 default = False ,
You can’t perform that action at this time.
0 commit comments