fixed all demos being skipped as currently parsing
This commit is contained in:
@@ -334,7 +334,7 @@ func (dml *DemoMatchLoader) demoWorker() {
|
|||||||
|
|
||||||
func (dml *DemoMatchLoader) gcWorker(apiKey string, rl ratelimit.Limiter) {
|
func (dml *DemoMatchLoader) gcWorker(apiKey string, rl ratelimit.Limiter) {
|
||||||
for demo := range dml.parseDemo {
|
for demo := range dml.parseDemo {
|
||||||
if !dml.IsLoading(demo) {
|
if dml.IsLoading(demo) {
|
||||||
log.Infof("[DL] Skipping %s: parsing in progress", demo.ShareCode)
|
log.Infof("[DL] Skipping %s: parsing in progress", demo.ShareCode)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user