Skip to content

Commit

Permalink
Fix usenet usage (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flaminel authored Jan 18, 2025
1 parent a02be80 commit 209f787
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions code/Infrastructure/Verticals/QueueCleaner/QueueCleaner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,14 @@ await _arrArrQueueIterator.Iterate(arrClient, instance, async items =>

QueueRecord record = group.First();

if (record.Protocol is not "torrent")
{
continue;
}

if (!arrClient.IsRecordValid(record))
{
continue;
}

StalledResult stalledCheckResult = new();

if (_downloadClientConfig.DownloadClient is not Common.Enums.DownloadClient.None)
if (_downloadClientConfig.DownloadClient is not Common.Enums.DownloadClient.None && record.Protocol is "torrent")
{
// stalled download check
stalledCheckResult = await _downloadService.ShouldRemoveFromArrQueueAsync(record.DownloadId);
Expand Down

0 comments on commit 209f787

Please sign in to comment.