Cache the last 3 rounds of admin logs in memory

Reduces send logs time from 2/10/45 seconds to 2 milliseconds
Not thread safe
Removes LogRecord
This commit is contained in:
DrSmugleaf
2021-12-25 02:07:12 +01:00
parent cdc1a70c03
commit 1f8152cb02
13 changed files with 233 additions and 109 deletions

View File

@@ -59,7 +59,7 @@ public class QueryTests : ContentIntegrationTest
await WaitUntil(server, async () =>
{
await foreach (var _ in sAdminLogSystem.All(filter))
foreach (var _ in await sAdminLogSystem.All(filter))
{
return true;
}