mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-07 10:14:14 -04: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
|
public class LastfmArtistProvider : LastfmBaseArtistProvider
|
||||||
{
|
{
|
||||||
internal readonly SemaphoreSlim LastfmResourcePool = new SemaphoreSlim(5, 5);
|
|
||||||
|
|
||||||
public LastfmArtistProvider(IJsonSerializer jsonSerializer, IHttpClient httpClient, ILogManager logManager, IServerConfigurationManager configurationManager)
|
public LastfmArtistProvider(IJsonSerializer jsonSerializer, IHttpClient httpClient, ILogManager logManager, IServerConfigurationManager configurationManager)
|
||||||
: base(jsonSerializer, httpClient, logManager, configurationManager)
|
: base(jsonSerializer, httpClient, logManager, configurationManager)
|
||||||
|
@ -24,6 +24,8 @@ namespace MediaBrowser.Controller.Providers.Music
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public abstract class LastfmBaseProvider : BaseMetadataProvider
|
public abstract class LastfmBaseProvider : BaseMetadataProvider
|
||||||
{
|
{
|
||||||
|
protected static readonly SemaphoreSlim LastfmResourcePool = new SemaphoreSlim(5, 5);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="LastfmBaseProvider" /> class.
|
/// Initializes a new instance of the <see cref="LastfmBaseProvider" /> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user