added multi-parsing

This commit is contained in:
2021-10-05 00:00:01 +02:00
parent 79d1df4cf3
commit 8eec0b3968
5 changed files with 37 additions and 22 deletions

View File

@@ -389,7 +389,7 @@ func main() {
log.Info("GC ready, starting HTTP server")
sendGC = make(chan *csgo.Demo, 100)
utils.Check(demoParser.Setup(db.Client, db.Lock))
utils.Check(demoParser.Setup(db.Client, db.Lock, conf.Parser.Worker))
go utils.GCInfoParser(sendGC, demoLoader, demoParser, db, conf.Steam.APIKey, rL)
go housekeeping()