Change number of read connections based on # of threads and add comments

This commit is contained in:
Bond_009
2023-04-21 14:05:27 +02:00
parent 8dba3a44fd
commit 13152bf09d
2 changed files with 18 additions and 3 deletions

View File

@@ -336,7 +336,7 @@ namespace Emby.Server.Implementations.Data
_jsonOptions = JsonDefaults.Options;
DbFilePath = Path.Combine(_config.ApplicationPaths.DataPath, "library.db");
ReadConnectionsCount = 5;
ReadConnectionsCount = Environment.ProcessorCount * 2;
}
/// <inheritdoc />