Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Start URL fetching only after all RSS items are processed #630
With #541 the nzbs are fetched from indexers only when needed. That has greatly reduced the amount of nzbs fetched. There is however still one case where more nzbs are fetched than necessary.
If rss filter works with dupe scores it can happen that an nzb further in the list has higher score and should be downloaded. NZBGet may however start fetching of the first nzb already. Once the second nzb (with higher score) is fetched the first nzb is moved from queue to history. This is all correct but if the download limit for indexer is very low we have a situation where the first nzb was fetched although not used.
This can be improved by delaying fetching of nzbs until all items in rss feed are processed. At that time the nzbs with lower scores are already moved to history and the download queue contains only higher scored nzb which can be downloaded now.