Skip to content

ext: perf improve#3316

Draft
laststylebender14 wants to merge 10 commits into
mainfrom
ext/perf-improve
Draft

ext: perf improve#3316
laststylebender14 wants to merge 10 commits into
mainfrom
ext/perf-improve

Conversation

@laststylebender14
Copy link
Copy Markdown
Contributor

No description provided.

hedypamungkas and others added 9 commits April 24, 2026 16:01
- 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>
@github-actions github-actions Bot added ci: benchmark Runs benchmarks type: performance Improved performance. labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: benchmark Runs benchmarks type: performance Improved performance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants