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

Truncate autocomplete LRU cache prefixes #5015

Merged
merged 1 commit into from
Apr 7, 2025
Merged

Conversation

RomneyDa
Copy link
Collaborator

@RomneyDa RomneyDa commented Apr 7, 2025

Description

Fixes #2688, see issue for more discussion

Essentially prevents adding prefixes to the cache that exceed the like pattern length. Also catches errors since the error is caused by users' existing data not from the input.

@RomneyDa RomneyDa requested a review from a team as a code owner April 7, 2025 00:42
@RomneyDa RomneyDa requested review from sestinj and removed request for a team April 7, 2025 00:42
Copy link

netlify bot commented Apr 7, 2025

Deploy Preview for continuedev canceled.

Name Link
🔨 Latest commit 474c52a
🔍 Latest deploy log https://app.netlify.com/sites/continuedev/deploys/67f31f792895d90008faa791

@RomneyDa RomneyDa merged commit 250dbbb into main Apr 7, 2025
32 checks passed
@RomneyDa RomneyDa deleted the dallin/hide-sqlite-errors branch April 7, 2025 06:00
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

Successfully merging this pull request may close these issues.

LRU Cache requests Sqlite LIKE or GLOB pattern too complex
3 participants