mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
Fixed performance issues with the QueueModule and limited the number of items the Download Client will fetch as history.
This commit is contained in:
@@ -5,6 +5,7 @@ using NzbDrone.Core.Indexers;
|
||||
using NzbDrone.Core.Parser;
|
||||
using NzbDrone.Core.Parser.Model;
|
||||
using NzbDrone.Core.ThingiProvider;
|
||||
using NzbDrone.Core.Configuration;
|
||||
using NLog;
|
||||
|
||||
namespace NzbDrone.Core.Download
|
||||
@@ -12,6 +13,7 @@ namespace NzbDrone.Core.Download
|
||||
public abstract class DownloadClientBase<TSettings> : IDownloadClient
|
||||
where TSettings : IProviderConfig, new()
|
||||
{
|
||||
protected readonly IConfigService _configService;
|
||||
private readonly IParsingService _parsingService;
|
||||
protected readonly Logger _logger;
|
||||
|
||||
@@ -41,8 +43,9 @@ namespace NzbDrone.Core.Download
|
||||
}
|
||||
}
|
||||
|
||||
protected DownloadClientBase(IParsingService parsingService, Logger logger)
|
||||
protected DownloadClientBase(IConfigService configService, IParsingService parsingService, Logger logger)
|
||||
{
|
||||
_configService = configService;
|
||||
_parsingService = parsingService;
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user