Skip to content

Commit

Permalink
Update ProfilePregeneratorService.cs
Browse files Browse the repository at this point in the history
webedit???? holy moly
  • Loading branch information
Simyon264 authored Jun 24, 2024
1 parent 3cc8454 commit ca72506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ReplayBrowser/Services/ProfilePregeneratorService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ 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(10000); // 10 seconds
await Task.Delay(3000); // 3 seconds
}
sw.Stop();
Log.Information("Profile pregeneration finished in {ElapsedMilliseconds}ms.", sw.ElapsedMilliseconds);
Expand All @@ -77,4 +77,4 @@ public async ValueTask DisposeAsync()
{
if (_timer != null) await _timer.DisposeAsync();
}
}
}

0 comments on commit ca72506

Please sign in to comment.