Repository navigation
feat: queryMemoryLimit and QRY-012 (minigraf#549) - #15
Merged
Merged
Conversation
Add queryMemoryLimit to OpenOptions: the most bytes one query may hold, a query that would hold more throwing QRY-012. Number.MAX_SAFE_INTEGER or more stands for core's usize::MAX (no limit, the default), as for walCheckpointThreshold. Bump the core v3 pin to df7282f1. Core now deprecates max_results as an alias of max_derived_facts; maxResults stays, documented as the alias. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019kY61Y11gcRD91Y6b7jbGT
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019kY61Y11gcRD91Y6b7jbGT
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.
Binding side of project-minigraf/minigraf#549 on v3.
OpenOptions.queryMemoryLimit: the most bytes one query may hold. A query that would hold more throws with[QRY-012].Number.MAX_SAFE_INTEGERor more maps to core'susize::MAX, no limit, the default — aswalCheckpointThresholddoes (the shared constant is renamedMAX_SAFE_INTEGER).max_resultsas an alias ofmax_derived_facts(#553);maxResultsstays, documented as the alias.queryMemoryLimit throws QRY-012 (#549): 64-byte limit → QRY-012 fromexecuteand a cursor,MAX_SAFE_INTEGER→ no limit, -1 → API-017. README andindex.d.tsdocument the option.🤖 Generated with Claude Code
https://claude.ai/code/session_019kY61Y11gcRD91Y6b7jbGT