Skip to content

The Free Software Media System - Server Backend & API

Remove old connection count props

Bond_009953bd5f21062
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
/// </summary>
protected string DbFilePath { get; set; }
- /// <summary>
- /// Gets or sets the number of write connections to create.
- /// </summary>
- /// <value>Path to the DB file.</value>
- protected int WriteConnectionsCount { get; set; } = 1;
-
- /// <summary>
- /// Gets or sets the number of read connections to create.
- /// </summary>
- protected int ReadConnectionsCount { get; set; } = 1;
-
/// <summary>
/// Gets the logger.
/// </summary>
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;
}
/// <inheritdoc />