added multi-parsing
This commit is contained in:
2
main.go
2
main.go
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user