Procházet zdrojové kódy

Merge pull request #11972 from Bond-009/numconns

Remove old connection count props
Bond-009 před 1 rokem
rodič
revize
ec2fa95bf3

+ 0 - 11
Emby.Server.Implementations/Data/BaseSqliteRepository.cs

@@ -31,17 +31,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>

+ 0 - 1
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 />