Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to prevent publishing incomplete indices #2218

Open
Janpot opened this issue Mar 21, 2024 · 0 comments
Open

Add an option to prevent publishing incomplete indices #2218

Janpot opened this issue Mar 21, 2024 · 0 comments

Comments

@Janpot
Copy link

Janpot commented Mar 21, 2024

Describe the problem

We enjoy using the maxLostRecordsPercentage option in the safetyChecks. But sometimes the crawler fails to fetch one or more of our pages, resulting in a lost amount of records that stays below this threshold. The crawler then happily proceeds publishing the incomplete index.
Would love to be able to be looser about losing records to allow for changes in our content, but have a zero-tolerance for failed urls.

Describe the solution

Would love to be able to set something like a maxFailedUrls in the safetyChecks which blocks the crawler from publishing the index if any amount of urls failed to be crawled.
Additionally, it would be helpful if the crawler could retry fetching urls, with some backoff pattern.

Alternatives you've considered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant