Fixed: Increased timeout when waiting for rtorrent to finish adding torrent.

fixes #1665
pull/4/head
Taloth Saldono 8 years ago
parent fc15daa37e
commit 0255eb3aca

@ -72,8 +72,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.TvCategory, Settings); _proxy.SetTorrentLabel(hash, Settings.TvCategory, Settings);

Loading…
Cancel
Save