1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-21 21:47:05 +00:00

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

fixes #1665
This commit is contained in:
Taloth Saldono 2017-02-07 22:36:47 +01:00
parent fc15daa37e
commit 0255eb3aca

View file

@ -72,8 +72,8 @@ protected override string AddFromTorrentFile(RemoteEpisode remoteEpisode, string
{
_proxy.AddTorrentFromFile(filename, fileContent, Settings);
var tries = 2;
var retryDelay = 100;
var tries = 5;
var retryDelay = 200;
if (WaitForTorrent(hash, tries, retryDelay))
{
_proxy.SetTorrentLabel(hash, Settings.TvCategory, Settings);