From 22d8528d904e69a8e22ba0e6d43dcb58a54bdcf5 Mon Sep 17 00:00:00 2001 From: gnattu Date: Mon, 5 Aug 2024 10:58:22 -0400 Subject: Backport pull request #11901 from jellyfin/release-10.9.z Implement Device Cache to replace EFCoreSecondLevelCacheInterceptor Original-merge: b7bc0e1c96553675a490c0bd92a58ad9c5f0d0e1 Merged-by: joshuaboniface Backported-by: Bond_009 --- .../Extensions/ConfigurationExtensions.cs | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'MediaBrowser.Controller/Extensions') diff --git a/MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs b/MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs index 7dfda73bf..6c58064ce 100644 --- a/MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs +++ b/MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs @@ -64,11 +64,6 @@ namespace MediaBrowser.Controller.Extensions /// public const string SqliteCacheSizeKey = "sqlite:cacheSize"; - /// - /// Disable second level cache of sqlite. - /// - public const string SqliteDisableSecondLevelCacheKey = "sqlite:disableSecondLevelCache"; - /// /// Gets a value indicating whether the application should host static web content from the . /// @@ -133,15 +128,5 @@ namespace MediaBrowser.Controller.Extensions /// The sqlite cache size. public static int? GetSqliteCacheSize(this IConfiguration configuration) => configuration.GetValue(SqliteCacheSizeKey); - - /// - /// Gets whether second level cache disabled from the . - /// - /// The configuration to read the setting from. - /// Whether second level cache disabled. - public static bool GetSqliteSecondLevelCacheDisabled(this IConfiguration configuration) - { - return configuration.GetValue(SqliteDisableSecondLevelCacheKey); - } } } -- cgit v1.2.3