mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 16:38:37 +00:00
Theoretically move friend/blocked data to Redis
Untested due to shenanigans with Redis.
This commit is contained in:
parent
82091c6d8b
commit
bd41997aae
11 changed files with 166 additions and 133 deletions
|
@ -32,7 +32,7 @@ public static class StartupTasks
|
|||
// Referencing ServerSettings.Instance here loads the config, see ServerSettings.cs for more information
|
||||
Logger.LogSuccess("Loaded config file version " + ServerConfiguration.Instance.ConfigVersion, LogArea.Startup);
|
||||
|
||||
Logger.LogInfo("Determining if the database is available...", LogArea.Startup);
|
||||
Logger.LogInfo("Connecting to the database...", LogArea.Startup);
|
||||
bool dbConnected = ServerStatics.DbConnected;
|
||||
if (!dbConnected)
|
||||
{
|
||||
|
@ -40,7 +40,7 @@ public static class StartupTasks
|
|||
}
|
||||
else
|
||||
{
|
||||
Logger.LogSuccess("Connected to the database.", LogArea.Startup);
|
||||
Logger.LogSuccess("Connected!", LogArea.Startup);
|
||||
}
|
||||
|
||||
if (!dbConnected) Environment.Exit(1);
|
||||
|
@ -48,7 +48,7 @@ public static class StartupTasks
|
|||
|
||||
Logger.LogInfo("Migrating database...", LogArea.Database);
|
||||
migrateDatabase(database);
|
||||
|
||||
|
||||
if (ServerConfiguration.Instance.InfluxDB.InfluxEnabled)
|
||||
{
|
||||
Logger.LogInfo("Influx logging is enabled. Starting influx logging...", LogArea.Startup);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue