We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de63f25 commit e5cef33Copy full SHA for e5cef33
lib/tasks/detect_duplicates.rake
@@ -16,8 +16,6 @@ namespace :duplicates do
16
puts "Scanning assets with matching checksums..."
17
puts "Processing in batches of #{batch_size}..."
18
19
- IsilonAsset.update_all(has_duplicates: false)
20
-
21
duplicate_checksums = IsilonAsset.where("NULLIF(TRIM(file_checksum), '') IS NOT NULL")
22
.group(:file_checksum)
23
.having("COUNT(*) > 1")
0 commit comments