fixed all demos being skipped as currently parsing

This commit is contained in:
2022-02-04 07:13:29 +01:00
parent 466a000c86
commit cc2c40dc56
2 changed files with 538 additions and 6 deletions

View File

@@ -334,7 +334,7 @@ func (dml *DemoMatchLoader) demoWorker() {
func (dml *DemoMatchLoader) gcWorker(apiKey string, rl ratelimit.Limiter) {
for demo := range dml.parseDemo {
if !dml.IsLoading(demo) {
if dml.IsLoading(demo) {
log.Infof("[DL] Skipping %s: parsing in progress", demo.ShareCode)
continue
}

542
go.sum

File diff suppressed because it is too large Load Diff