#4277 kojira: split currency and regen
Merged by tkopecek. Opened by mikem.
mikem/koji repo-updates  into  master

Download 4277.patch

A single kojira thread was running both repo.autoRequests and repo.checkQueue. On some systems, the autoRequests call can take a while, resulting is slower response times for repo requests.

Rather than duplicate the thread boilerplate yet another time, I unified it, reducing quite a bit of repetitive code.

$ git diff origin...  --stat=80 util
 util/kojira | 135 ++++++++++++++++--------------------------------------------
 1 file changed, 36 insertions(+), 99 deletions(-)

Also added a unit test and a couple minor fixes

Fixes https://pagure.io/koji/issue/4278

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

Metadata Update from @tkopecek:
- Pull-request untagged with: testing-ready
- Pull-request tagged with: no_qe

Commit 4270cdd4 fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata