#1671 koji-gc: handle_trash takes years
Closed: Fixed by tkopecek. Opened by tkopecek.

1) It could be rewritten to passes, so buildReferences (which are most likely to skip build) are run in multiCall
~~2) buildReferences's SQL has performance problems (LIMIT causes pg to use ultraslow plan)~~
3) It could be threaded


SQL performance moved to #1674

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

Commit c4a6f7da fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1671

Please continue any further discussion there.

Metadata