Skip to content

Add global db registry#4

Merged
jjhafer merged 2 commits into
silvermine:masterfrom
pmorris-dev:add_global_db_registry
Nov 18, 2025
Merged

Add global db registry#4
jjhafer merged 2 commits into
silvermine:masterfrom
pmorris-dev:add_global_db_registry

Conversation

@pmorris-dev

Copy link
Copy Markdown
Contributor
  • The caching behavior will be tested from the outside once the database.rs tests are committed (in an upcoming PR)

Comment thread crates/sqlx-sqlite-conn-mgr/src/registry.rs Outdated
Comment thread crates/sqlx-sqlite-conn-mgr/src/registry.rs
Comment thread crates/sqlx-sqlite-conn-mgr/src/registry.rs
Comment thread crates/sqlx-sqlite-conn-mgr/src/registry.rs Outdated
@pmorris-dev pmorris-dev force-pushed the add_global_db_registry branch from 11b075d to c253f60 Compare November 17, 2025 18:07
@pmorris-dev

Copy link
Copy Markdown
Contributor Author

@velocitysystems: Please see my replies and the amendments. Thank you.

@pmorris-dev pmorris-dev force-pushed the add_global_db_registry branch 2 times, most recently from 1ee33a1 to f1875aa Compare November 17, 2025 21:15
Comment thread crates/sqlx-sqlite-conn-mgr/src/registry.rs
Comment thread crates/sqlx-sqlite-conn-mgr/src/registry.rs Outdated
- This ensures only a single instance of a db (with is connection
pools) can exist in the process
- NOTE TO REVIEWERS: The caching behavior will be tested from
the outside once the `database.rs` tests are committed.
@pmorris-dev pmorris-dev force-pushed the add_global_db_registry branch from f1875aa to fa78d1a Compare November 18, 2025 18:12
@jjhafer jjhafer merged commit f595d9d into silvermine:master Nov 18, 2025
1 check passed
@pmorris-dev pmorris-dev deleted the add_global_db_registry branch November 25, 2025 16:37
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.

3 participants