mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Added some code to shrink the DB. reworked the search to speed it up.
This commit is contained in:
parent
97b1901a64
commit
6f008f77a3
6 changed files with 156 additions and 156 deletions
|
@ -149,10 +149,7 @@ namespace PlexRequests.UI
|
|||
var settingsService = new SettingsServiceV2<LogSettings>(new SettingsJsonRepository(new DbConfiguration(new SqliteFactory()), new MemoryCacheProvider()));
|
||||
var logSettings = settingsService.GetSettings();
|
||||
|
||||
if (logSettings != null)
|
||||
{
|
||||
LoggingHelper.ReconfigureLogLevel(LogLevel.FromOrdinal(logSettings.Level));
|
||||
}
|
||||
LoggingHelper.ReconfigureLogLevel(logSettings != null ? LogLevel.FromOrdinal(logSettings.Level) : LogLevel.FromOrdinal(4));
|
||||
}
|
||||
|
||||
private static void PrintToConsole(string message, ConsoleColor colour = ConsoleColor.Gray)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue