Fix bugs in job classifier and tagger infrastructure

This commit is contained in:
2025-05-26 13:08:03 +02:00
parent 3c66840f95
commit f14bdb3068
8 changed files with 105 additions and 47 deletions

View File

@@ -213,6 +213,10 @@ func main() {
}
}
if config.Keys.EnableJobTaggers {
tagger.Init()
}
if flagApplyTags {
if err := tagger.RunTaggers(); err != nil {
log.Abortf("Running job taggers.\nError: %s\n", err.Error())
@@ -225,9 +229,6 @@ func main() {
archiver.Start(repository.GetJobRepository())
if config.Keys.EnableJobTaggers {
tagger.Init()
}
taskManager.Start()
serverInit()