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

Use DB_REPLICA_URL to determine if Litestream is enabled #134

Merged
merged 1 commit into from
Dec 5, 2021

Conversation

mtlynch
Copy link
Owner

@mtlynch mtlynch commented Dec 5, 2021

We were previously using environment variables related to Litestream's S3 replica, but that's a brittle way to check, since sftp doesn't rely on any S3 variables. Using DB_REPLICA_URL gives a more reliable answer as to whether the configuration relies on Litestream.

Related: #133

We were previously using environment variables related to Litestream's S3 replica, but that's a brittle way to check, since sftp doesn't rely on any S3 variables. Using DB_REPLICA_URL gives a more reliable answer as to whether the configuration relies on Litestream.
@mtlynch mtlynch enabled auto-merge (squash) December 5, 2021 14:29
@mtlynch mtlynch merged commit 279031d into master Dec 5, 2021
@mtlynch mtlynch deleted the infer-from-replica-url branch December 5, 2021 14:32
@mtlynch mtlynch mentioned this pull request Dec 5, 2021
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.

1 participant