From 953bd5f210629b6e6739b301ba368851fe476450 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Wed, 5 Jun 2024 11:58:21 +0200 Subject: [PATCH] Remove old connection count props Not used with the new SQLite lib --- .../Data/BaseSqliteRepository.cs | 11 ----------- .../Data/SqliteItemRepository.cs | 1 - 2 files changed, 12 deletions(-) diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs index b1c99227c3..ee1598e7f3 100644 --- a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs +++ b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs @@ -28,17 +28,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 a09988fee0..a4c6b2d311 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; } ///