Merge pull request #11972 from Bond-009/numconns

Remove old connection count props
pull/11993/head
Bond-009 8 months ago committed by GitHub
commit ec2fa95bf3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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>

@ -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 />

Loading…
Cancel
Save