Skip to content

The Free Software Media System - Server Backend & API

Merge remote-tracking branch 'upstream/master' into library_scan_speed

Gary Wilbere6d8c02944dd
diff --cc MediaBrowser.Controller/MediaBrowser.Controller.csproj
index 243b8cd02b,4374317d67..b2bce02a29
--- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj
+++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj
@@@ -14,10 -14,9 +14,10 @@@
</PropertyGroup>
<ItemGroup>
- <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="3.1.8" />
- <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="3.1.8" />
- <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
+ <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="3.1.9" />
+ <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="3.1.9" />
+ <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
+ <PackageReference Include="System.Threading.Tasks.Dataflow" Version="4.11.1" />
</ItemGroup>
<ItemGroup>
diff --cc MediaBrowser.Model/Configuration/ServerConfiguration.cs
index 14bfcbf9e2,23a5201f7a..4d24e45b0c
--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs
+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs
@@@ -271,16 -271,11 +271,20 @@@ namespace MediaBrowser.Model.Configurat
/// </summary>
public string[] KnownProxies { get; set; }
- /// <summary>
+ /// Gets or sets the number of days we should retain activity logs.
+ /// </summary>
+ public int? ActivityLogRetentionDays { get; set; }
+
+ /// <summary>
+ /// Gets or sets the how the library scan fans out.
+ /// </summary>
+ public int LibraryScanFanoutConcurrency { get; set; }
+
+ /// <summary>
+ /// Gets or sets the how many metadata refreshes can run concurrently.
+ /// </summary>
+ public int LibraryMetadataRefreshConcurrency { get; set; }
+
/// <summary>
/// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
/// </summary>
@@@ -391,8 -386,7 +395,9 @@@
SlowResponseThresholdMs = 500;
CorsHosts = new[] { "*" };
KnownProxies = Array.Empty<string>();
- LibraryMetadataRefreshConcurrency = 0;
+ ActivityLogRetentionDays = 30;
+ LibraryScanFanoutConcurrency = 0;
++ LibraryMetadataRefreshConcurrency = 0;
}
}