Repository navigation
fix(crawl): wait at most 30 s between crawl_busy stop retries - #34
Merged
Merged
Conversation
stop waited whatever Retry-After the server sent, so a value of 3600 made one stop wait an hour. It now waits at most 30 s, and 1 s when the header is missing or unusable (negative, NaN). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HJnfsEB5DBXR4e7KxBqvJV
gonzalo-zenrows
approved these changes
Oct 12, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Small follow-up for the stop retry on
503 crawl_busy, targeting this PR's branch so it lands with it.stopwaited whateverRetry-Afterthe server sent; a value of 3600 made one stop wait an hour. It now waits at most 30 s.Retry-After(negative, NaN) waits 1 s instead of failing.The base PR (
feat/crawl-client-v2) now caps every otherRetry-Afterwait at 30 s too, so the clients agree. Each repo's own checks pass on this branch: lint, typecheck and the full test suite.Squash-merge with the title as the message: the commit carries trailer lines that should not land.