added vac/gameban marker for matches

This commit is contained in:
2021-10-28 08:47:41 +02:00
parent 25b153900f
commit 37233be336
14 changed files with 371 additions and 10 deletions

View File

@@ -130,7 +130,7 @@ func (p *DemoParser) parseWorker() {
continue
}
}
downloadTime := time.Now().Sub(startTime)
downloadTime := time.Since(startTime)
tStats, err := tMatch.QueryStats().WithPlayers().All(context.Background())
if err != nil {
@@ -336,7 +336,7 @@ func (p *DemoParser) parseWorker() {
}
}
log.Infof("[DP] parsed match %d (took %s/%s)", demo.MatchId, downloadTime, time.Now().Sub(startTime))
log.Infof("[DP] parsed match %d (took %s/%s)", demo.MatchId, downloadTime, time.Since(startTime))
err = demoParser.Close()
if err != nil {