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

feat: Add sqlite read/write pool split #218

Merged
merged 2 commits into from
Jan 19, 2024
Merged

feat: Add sqlite read/write pool split #218

merged 2 commits into from
Jan 19, 2024

Conversation

dav1do
Copy link
Contributor

@dav1do dav1do commented Jan 17, 2024

Linear ticket WS1-1431.

For now, put a basic struct in ceramic_core that manages access to the pools. The sqlx details are not hidden and still relied upon by crates interacting with the database, as the sqlx::SqlitePool is part of the public interface.

Copy link

linear bot commented Jan 17, 2024

core/src/sql.rs Outdated Show resolved Hide resolved
core/src/sql.rs Outdated Show resolved Hide resolved
@dav1do dav1do requested review from AaronGoldman and nathanielc and removed request for AaronGoldman January 17, 2024 20:59
Copy link
Collaborator

@nathanielc nathanielc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

For now, put a basic struct in ceramic_core that manages access to the pools. The sqlx details are not hidden and still relied upon by crates interating with the database.
@dav1do dav1do enabled auto-merge January 19, 2024 03:30
@dav1do dav1do added this pull request to the merge queue Jan 19, 2024
Merged via the queue into main with commit 0e5fbd3 Jan 19, 2024
4 checks passed
@dav1do dav1do deleted the feat/ws1-1431-sql-ro branch January 19, 2024 03:51
@smrz2001 smrz2001 mentioned this pull request Jan 23, 2024
@github-actions github-actions bot mentioned this pull request Feb 6, 2024
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.

2 participants