mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Generalized RateLimit logic to all indexers based on indexer id
This commit is contained in:
@@ -128,6 +128,7 @@ namespace NzbDrone.Core.Download
|
||||
try
|
||||
{
|
||||
var request = new HttpRequest(torrentUrl);
|
||||
request.RateLimitKey = remoteBook?.Release?.IndexerId.ToString();
|
||||
request.Headers.Accept = "application/x-bittorrent";
|
||||
request.AllowAutoRedirect = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user