This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
Only fill in pages if at least one link from first page is not dead #855
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
🟥 priority: critical
Must be addressed ASAP
Problem
If we make a request to ES for 20 items and find that any of them are dead, we attempt to "fill the page in" with subsequent "deeper page" queries. If all the links for a query are dead, this means we will slam ES with tons of fast queries to try to fill in the page.
Description
Kudos @obulat for the idea. We should not try to fill pages if all of the links on the first page are dead.
Additional context
We are also working on excluding providers that account for a large number of dead links.
Implementation
The text was updated successfully, but these errors were encountered: