ext: perf improve#3316
Draft
laststylebender14 wants to merge 10 commits into
Draft
Conversation
- Add SELECT 1 health check in SqliteCustomizer::on_acquire to catch stale connections - Remove min_idle: Some(1) to avoid keeping stale connections alive during idle - Increase connection_timeout from 5s to 15s for adequate fresh connection creation - Add PRAGMA wal_checkpoint(TRUNCATE) to ensure clean WAL state after idle - Add recreate_pool() method for last-resort pool recovery - Modify get_connection() to attempt pool recreation after all retries fail - Add 5 new tests covering idle eviction, health check, pool recreation, and WAL checkpoint Co-Authored-By: ForgeCode <noreply@forgecode.dev>
1b11d08 to
68d67b3
Compare
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.
No description provided.