mirror of https://github.com/Radarr/Radarr
Increase timeout when waiting for rTorrent to finish adding torrent (#721)
Increase timeout when waiting for rTorrent to finish adding torrent
This commit is contained in:
parent
f850c65b56
commit
93e55b7575
|
@ -75,8 +75,8 @@ namespace NzbDrone.Core.Download.Clients.RTorrent
|
||||||
{
|
{
|
||||||
_proxy.AddTorrentFromFile(filename, fileContent, Settings);
|
_proxy.AddTorrentFromFile(filename, fileContent, Settings);
|
||||||
|
|
||||||
var tries = 2;
|
var tries = 5;
|
||||||
var retryDelay = 100;
|
var retryDelay = 200;
|
||||||
if (WaitForTorrent(hash, tries, retryDelay))
|
if (WaitForTorrent(hash, tries, retryDelay))
|
||||||
{
|
{
|
||||||
_proxy.SetTorrentLabel(hash, Settings.MovieCategory, Settings);
|
_proxy.SetTorrentLabel(hash, Settings.MovieCategory, Settings);
|
||||||
|
|
Loading…
Reference in New Issue