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 @@ -339,8 +339,7 @@ def delete_group_hashes(
339339 # 2. Delete the GroupHashMetadata rows entirely (they'll be deleted anyway)
340340 # If we update the columns first, the deletion of the grouphash metadata rows will have less work to do,
341341 # thus, improving the performance of the deletion.
342- if options .get ("deletions.group-hashes-metadata.update-seer-matched-grouphash-ids" ):
343- update_group_hash_metadata_in_batches (hash_ids )
342+ update_group_hash_metadata_in_batches (hash_ids )
344343 GroupHashMetadata .objects .filter (grouphash_id__in = hash_ids ).delete ()
345344 GroupHash .objects .filter (id__in = hash_ids ).delete ()
346345
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- )
357351
358352register (
359353 "cleanup.abort_execution" ,
You can’t perform that action at this time.
0 commit comments