|
|
|
@ -63,7 +63,6 @@ namespace NzbDrone.Core.Download
|
|
|
|
|
|
|
|
|
|
// Get the seed configuration for this release.
|
|
|
|
|
remoteAlbum.SeedConfiguration = _seedConfigProvider.GetSeedConfiguration(remoteAlbum);
|
|
|
|
|
var indexer = _indexerFactory.GetInstance(_indexerFactory.Get(remoteAlbum.Release.IndexerId));
|
|
|
|
|
|
|
|
|
|
// Limit grabs to 2 per second.
|
|
|
|
|
if (remoteAlbum.Release.DownloadUrl.IsNotNullOrWhiteSpace() && !remoteAlbum.Release.DownloadUrl.StartsWith("magnet:"))
|
|
|
|
@ -72,6 +71,13 @@ namespace NzbDrone.Core.Download
|
|
|
|
|
_rateLimitService.WaitAndPulse(url.Host, TimeSpan.FromSeconds(2));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
IIndexer indexer = null;
|
|
|
|
|
|
|
|
|
|
if (remoteAlbum.Release.IndexerId > 0)
|
|
|
|
|
{
|
|
|
|
|
indexer = _indexerFactory.GetInstance(_indexerFactory.Get(remoteAlbum.Release.IndexerId));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
string downloadClientId;
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|