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.
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.