Bug fixin....ffs..
This commit is contained in:
@@ -79,6 +79,7 @@ public sealed class NetworkManager
|
|||||||
_pingInterval.TotalSeconds,
|
_pingInterval.TotalSeconds,
|
||||||
_maxConnections
|
_maxConnections
|
||||||
);
|
);
|
||||||
|
redis.FlushDatabaseAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ using DataServer.Data;
|
|||||||
using GameServer;
|
using GameServer;
|
||||||
using GameServer.Dungeon;
|
using GameServer.Dungeon;
|
||||||
using GameServices;
|
using GameServices;
|
||||||
|
using GameServices.Admin.Pages;
|
||||||
using GameServices.Auth;
|
using GameServices.Auth;
|
||||||
using Microsoft.AspNetCore.Builder;
|
using Microsoft.AspNetCore.Builder;
|
||||||
using Microsoft.AspNetCore.DataProtection;
|
using Microsoft.AspNetCore.DataProtection;
|
||||||
@@ -81,6 +82,7 @@ builder.Services.AddSingleton<IAdminAuthService, AdminAuthService>();
|
|||||||
builder.Services.AddSingleton<ICdnBrowserService, MinioCdnBrowserService>();
|
builder.Services.AddSingleton<ICdnBrowserService, MinioCdnBrowserService>();
|
||||||
builder.Services.AddSingleton<IServerBroadcastService, ServerBroadcastService>();
|
builder.Services.AddSingleton<IServerBroadcastService, ServerBroadcastService>();
|
||||||
builder.Services.AddHttpClient(); // For CDN file hash computation
|
builder.Services.AddHttpClient(); // For CDN file hash computation
|
||||||
|
Console.WriteLine("Burning it down");
|
||||||
|
|
||||||
// Health checks
|
// Health checks
|
||||||
builder.Services.AddHealthChecks()
|
builder.Services.AddHealthChecks()
|
||||||
|
|||||||
@@ -205,5 +205,6 @@ public sealed class RedisManager : IRedisManager
|
|||||||
await server.FlushDatabaseAsync(Db.Database);
|
await server.FlushDatabaseAsync(Db.Database);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user