#598 kojira: speed up repo dist check
Merged 6 years ago by mikem. Opened 6 years ago by mikem.
mikem/koji kojira-dist-check  into  master

No commits found

The dist repo changes added an extra repoInfo hub call to determine whether a repo was a dist repo in the tryDelete method. This method gets called a lot, particularly when there are a lot of repos on disk. This change ensures that kojira has the data to begin with.

Since I was there, I updated the query code in get_active_repos() and wrote a unit test for it.

Commit fcddf97 fixes this pull-request

Pull-Request has been merged by mikem@redhat.com

6 years ago
Metadata