#797 Move kojira's regen loop into dedicated thread
Merged 4 years ago by mikem. Opened 4 years ago by mikem.

No commits found

On systems with a very large number of build tags, kojira can sometimes get bogged down crunching data and take too long to come back around to the part where it actually fires off newRepo tasks. This can keep kojira from maintaining the configured maximum number of jobs when there is a backlog.

This change untangles the various parts of updateRepos() and moves the regenRepo part into dedicated thread.

I've included a couple unit tests (kojira did not previously have any), but I should really add a few more here.

3 new commits added

  • unit test for checkNeeded
  • unit test for setTagScore
  • unit test for regenLoop
4 years ago

Commit 0087888 fixes this pull-request

Pull-Request has been merged by mikem

4 years ago
Metadata