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:
Mitchell Cash 2017-02-12 18:07:38 +10:00 committed by Devin Buhl
parent f850c65b56
commit 93e55b7575
1 changed files with 2 additions and 2 deletions

View File

@ -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);