mirror of
1
Fork 0
forgejo/services/packages/cleanup
Earl Warren ff6aceaeac
feat: optimize the FindUnreferencedPackages package query
Replace a double select with a simple select.

The complication originates from the initial implementation which
deleted packages instead of selecting them. It was justified to
workaround a problem in MySQL. But it is just a waste of resources
when collecting a list of IDs.
2024-07-27 15:57:24 +02:00
..
cleanup.go feat: optimize the FindUnreferencedPackages package query 2024-07-27 15:57:24 +02:00