no message
This commit is contained in:
parent
4837c5c673
commit
52b5aa1b09
1 changed files with 0 additions and 2 deletions
|
|
@ -318,8 +318,6 @@ namespace RdtClient.Service.Services.TorrentClients
|
||||||
// If there is only 1 link, delay for 1 minute to see if more links pop up.
|
// If there is only 1 link, delay for 1 minute to see if more links pop up.
|
||||||
if (downloadLinks.Count == 1 && torrent.RdEnded.HasValue && DateTime.UtcNow > torrent.RdEnded.Value.ToUniversalTime().AddMinutes(1))
|
if (downloadLinks.Count == 1 && torrent.RdEnded.HasValue && DateTime.UtcNow > torrent.RdEnded.Value.ToUniversalTime().AddMinutes(1))
|
||||||
{
|
{
|
||||||
var rem = torrent.RdEnded.Value.ToUniversalTime() - DateTimeOffset.UtcNow;
|
|
||||||
Log($"Delaying {rem.TotalSeconds} more seconds", torrent);
|
|
||||||
return downloadLinks;
|
return downloadLinks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue