mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-25 12:38:16 +00:00
Move lastfm resource pool to base
This commit is contained in:
@@ -18,7 +18,6 @@ namespace MediaBrowser.Controller.Providers.Music
|
||||
{
|
||||
public class LastfmArtistProvider : LastfmBaseArtistProvider
|
||||
{
|
||||
internal readonly SemaphoreSlim LastfmResourcePool = new SemaphoreSlim(5, 5);
|
||||
|
||||
public LastfmArtistProvider(IJsonSerializer jsonSerializer, IHttpClient httpClient, ILogManager logManager, IServerConfigurationManager configurationManager)
|
||||
: base(jsonSerializer, httpClient, logManager, configurationManager)
|
||||
|
||||
@@ -24,6 +24,8 @@ namespace MediaBrowser.Controller.Providers.Music
|
||||
/// </summary>
|
||||
public abstract class LastfmBaseProvider : BaseMetadataProvider
|
||||
{
|
||||
protected static readonly SemaphoreSlim LastfmResourcePool = new SemaphoreSlim(5, 5);
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="LastfmBaseProvider" /> class.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user