Remove the startup pass that folds files WordPress listed twice #83
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
merge_repeated_enclosures (src/db.rs:1697), its call at startup (src/main.rs:425) and its test, about 115 lines. It cleaned up files downloaded twice before the parser knew WordPress's numbered player URLs; the parser now drops the repeats while reading (feed.rs:727), and production has run the pass, so it only costs a query on every start. Found in a repo-wide audit for code that can go.
Fixed in
8c5eddd: merge_repeated_enclosures, its start-up call and its test are gone; the parser still drops the repeats as it reads. Not deployed yet.