Repository navigation
CTX7-3744: ctx7 code waits for a first index before exiting 75 - #3746
Closed
fahreddinozcan wants to merge 2 commits into
Closed
fahreddinozcan wants to merge 2 commits into
fahreddinozcan wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Collaborator
Author
|
Closing: a client-side wait blocks the agent for up to 90 s, hides the indexing state and spends rate-limited requests. The first-index wait is handled on the server instead (upstash/context7app#1689) and with indexer capacity. |
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.
ctx7 codenow calls again by itself while a version's source is indexed for the first time, for up to 90 s, before it exits with code 75.waitForLibraryCodepauses for the answer'sretryAfterafter a fast 202 and 3 s after a call the server held open, makes at most 10 calls, and starts a last call while more than 5 s are left, aborted at the budget (an abort counts as still indexing).--wait <seconds>(0 to 600) changes the budget;--wait 0exits at once as before, and an invalid value exits 1. While waiting, one line goes to stderr (or the spinner).Pairs with upstash/context7app#1689 (the server waits 40 s per call).
Closes CTX7-3744