mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
Move lastfm resource pool to base
This commit is contained in:
parent
669eeed8cf
commit
c1eb5a3b60
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user