Skip to content

Commit

Permalink
db is now hosted on the same VPS, no need for internal ratelimiting
Browse files Browse the repository at this point in the history
  • Loading branch information
Simyon264 committed Jun 24, 2024
1 parent ca72506 commit 8e8d556
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ReplayBrowser/Services/ProfilePregeneratorService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8e8d556

Please sign in to comment.