diff --git a/ReplayBrowser/Services/ProfilePregeneratorService.cs b/ReplayBrowser/Services/ProfilePregeneratorService.cs index 38a243b..1093aac 100644 --- a/ReplayBrowser/Services/ProfilePregeneratorService.cs +++ b/ReplayBrowser/Services/ProfilePregeneratorService.cs @@ -61,8 +61,6 @@ private async void DoWork(object? state) { await replayHelper.GetPlayerProfile(guid, new AuthenticationState(new ClaimsPrincipal()), true, true); Log.Information("Pregenerated profile for {Guid}.", guid); - // in order to prevent db spamming, we wait a bit before the next profile - await Task.Delay(3000); // 3 seconds } sw.Stop(); Log.Information("Profile pregeneration finished in {ElapsedMilliseconds}ms.", sw.ElapsedMilliseconds);