mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
Merge pull request #11972 from Bond-009/numconns
Remove old connection count props
This commit is contained in:
commit
ec2fa95bf3
2 changed files with 0 additions and 12 deletions
|
@ -31,17 +31,6 @@ namespace Emby.Server.Implementations.Data
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string DbFilePath { get; set; }
|
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>
|
/// <summary>
|
||||||
/// Gets the logger.
|
/// Gets the logger.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -327,7 +327,6 @@ namespace Emby.Server.Implementations.Data
|
||||||
DbFilePath = Path.Combine(_config.ApplicationPaths.DataPath, "library.db");
|
DbFilePath = Path.Combine(_config.ApplicationPaths.DataPath, "library.db");
|
||||||
|
|
||||||
CacheSize = configuration.GetSqliteCacheSize();
|
CacheSize = configuration.GetSqliteCacheSize();
|
||||||
ReadConnectionsCount = Environment.ProcessorCount * 2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue