mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Increase library scan and metadata refresh speed
This commit is contained in:
@@ -271,6 +271,16 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// </summary>
|
||||
public string[] KnownProxies { 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>
|
||||
@@ -381,6 +391,8 @@ namespace MediaBrowser.Model.Configuration
|
||||
SlowResponseThresholdMs = 500;
|
||||
CorsHosts = new[] { "*" };
|
||||
KnownProxies = Array.Empty<string>();
|
||||
LibraryMetadataRefreshConcurrency = 0;
|
||||
LibraryScanFanoutConcurrency = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user