diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs index 4305e4b39e..5291999dc0 100644 --- a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs +++ b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs @@ -31,17 +31,6 @@ namespace Emby.Server.Implementations.Data /// protected string DbFilePath { get; set; } - /// - /// Gets or sets the number of write connections to create. - /// - /// Path to the DB file. - protected int WriteConnectionsCount { get; set; } = 1; - - /// - /// Gets or sets the number of read connections to create. - /// - protected int ReadConnectionsCount { get; set; } = 1; - /// /// Gets the logger. /// diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs index d6a074195c..81ee55d26c 100644 --- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs +++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs @@ -327,7 +327,6 @@ namespace Emby.Server.Implementations.Data DbFilePath = Path.Combine(_config.ApplicationPaths.DataPath, "library.db"); CacheSize = configuration.GetSqliteCacheSize(); - ReadConnectionsCount = Environment.ProcessorCount * 2; } ///