diff --git a/Networking/NetworkManager.cs b/Networking/NetworkManager.cs index aa0f0a8..778b5e2 100644 --- a/Networking/NetworkManager.cs +++ b/Networking/NetworkManager.cs @@ -79,6 +79,7 @@ public sealed class NetworkManager _pingInterval.TotalSeconds, _maxConnections ); + redis.FlushDatabaseAsync(); } /// diff --git a/Program.cs b/Program.cs index 015d802..efd0755 100644 --- a/Program.cs +++ b/Program.cs @@ -4,6 +4,7 @@ using DataServer.Data; using GameServer; using GameServer.Dungeon; using GameServices; +using GameServices.Admin.Pages; using GameServices.Auth; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.DataProtection; @@ -81,6 +82,7 @@ builder.Services.AddSingleton(); builder.Services.AddSingleton(); builder.Services.AddSingleton(); builder.Services.AddHttpClient(); // For CDN file hash computation +Console.WriteLine("Burning it down"); // Health checks builder.Services.AddHealthChecks() diff --git a/Redis/IRedisManager.cs b/Redis/IRedisManager.cs index ca20fb0..12cd686 100644 --- a/Redis/IRedisManager.cs +++ b/Redis/IRedisManager.cs @@ -205,5 +205,6 @@ public sealed class RedisManager : IRedisManager await server.FlushDatabaseAsync(Db.Database); } } + }