fix: configurable db pool, multi-preset detection, enter-submit wizards#52
Merged
fix: configurable db pool, multi-preset detection, enter-submit wizards#52
Conversation
- Add env vars for database connection pool tuning (TEMPS_DB_MAX_CONNECTIONS, TEMPS_DB_MIN_CONNECTIONS, TEMPS_DB_ACQUIRE_TIMEOUT, TEMPS_DB_IDLE_TIMEOUT) with idle_timeout support to recycle stale connections - Refactor preset detection to return all matching presets per directory instead of only the highest-priority one, allowing users to choose - Add useEnterSubmit hook to domain, DNS provider, and import wizards - Document new pool env vars in environment variables reference
Install script and Homebrew formula template pointed to the wrong GitHub repo, causing 404s on download.
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.
Summary
TEMPS_DB_MAX_CONNECTIONS,TEMPS_DB_MIN_CONNECTIONS,TEMPS_DB_ACQUIRE_TIMEOUT,TEMPS_DB_IDLE_TIMEOUT) to configure the SQLx connection pool. Addsidle_timeout(previously unset) to recycle stale connections. Addressesslow_acquire_thresholdwarnings on smaller servers.detect_all_presets_from_filesnow returns all matching presets per directory (e.g., Dockerfile + Next.js), letting users choose instead of silently picking highest priority.useEnterSubmithook to Domain, DNS Provider, and Import wizards for keyboard-driven workflows.docs/reference/environment-variables/page.mdx.Test plan
cargo check --libpassescargo test --lib -p temps-presetsTEMPS_DB_MAX_CONNECTIONS=10and confirm pool respects the limit