Move lastfm resource pool to base

This commit is contained in:
Eric Reed 2013-03-04 10:33:54 -05:00
parent 669eeed8cf
commit c1eb5a3b60
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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>