Skip to content

Commit 41528df

Browse files
authored
Shuffle location for clearing download progress
webedit ops
1 parent c49e949 commit 41528df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ReplayBrowser/Services/ReplayParser/ReplayParserService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ private async Task FetchReplays(CancellationToken token, StorageUrl[] storageUrl
8888
await ConsumeQueue(token);
8989
Log.Information("Next run in " + delay.TotalMinutes + " minutes.");
9090
Status = ParserStatus.Idle;
91-
DownloadProgress.Clear();
9291
await Task.Delay(delay, token);
9392
}
9493
}
9594

9695
private async Task ConsumeQueue(CancellationToken token)
9796
{
97+
DownloadProgress.Clear();
9898
// Consume the queue.
9999
while (Queue.Count > 0)
100100
{
@@ -272,4 +272,4 @@ private ReplayDbContext GetDbContext()
272272
var scope = _factory.CreateScope();
273273
return scope.ServiceProvider.GetRequiredService<ReplayDbContext>();
274274
}
275-
}
275+
}

0 commit comments

Comments
 (0)