-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check cache for candidates when searching using backlog search. (#5816)
* Check cache for candidates when searching using backlog search. * Clean up the docstrings and method names. * Removed superfluous check. Fixed same flake comments. * Only get the candidates of we didn't already get them from cache. * Restructured the cache_multi_results and cache_singele_results a litte, so they're not erased with a second loop on season back episode fallback. * Assign them separate. * Created new method cache.find_results(). As I don't like the existing find_needed_episodes. As I think that method does too much. * Remove episode paramater. * Fix docstring. * Made cache.find_needed_eps more DRY. * Added debug log. * Small changes to improve clarity * Small changes
- Loading branch information
Showing
3 changed files
with
207 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.