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