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

Always manage connections when database is specified #219

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

djmb
Copy link
Collaborator

@djmb djmb commented Sep 9, 2024

When a database is specified, we should always manage connections so that we can ensure the cache is writable.

But if you just use the default connection for the rest of the app, we won't attempt to manage that.

Fixes: #214

When a database is specified, we should always manage connections so
that we can ensure the cache is writable.

But if you just use the default connection for the rest of the app, we
won't attempt to manage that.

Fixes: #214
@djmb djmb merged commit f1d3f57 into main Sep 10, 2024
19 checks passed
@djmb djmb deleted the manage-connections-for-single-database branch September 10, 2024 08:03
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.

Issue with Multi-Shard Databases and Rails Database Selector in Read-Only Mode
1 participant