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
Remove SQLite production warning but leave production config disabled #50463
Conversation
5bc8d49
to
11795be
Compare
production: | ||
<<: *default | ||
database: storage/production.sqlite3 | ||
# database: path/to/persistent/storage/production.sqlite3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# database: path/to/persistent/storage/production.sqlite3 | |
# database: storage/production.sqlite3 |
I think just commenting it out is fine since most would probably use the default storage folder anyway, but persisted with something like Docker volumes.
This feels like a good compromise. But also wonder if we should support passing in a path using DATABASE_URL in production? |
Makes sense to me but is orthogonal. Best handled in another PR. |
Yeah I guess DATABASE_URL overwrites in any case. Looks good to me then 👍 |
Looks like |
I think I'll squeeze the |
There are valid use cases for running SQLite in production, however it must be done with care, so instead of a warning most users won't see anyway, it's preferable to leave the configuration commented out to force them to think about having the database on a persistent volume etc. Co-Authored-By: Jacopo Beschi <beschi.jacopo@gmail.com>
11795be
to
6b446be
Compare
Actually it's already supported. |
Fix: #49715
There are valid use cases for running SQLite in production, however it must be done with care, so instead of a warning most users won't see anyway, it's preferable to leave the configuration commented out to force them to think about having the database on a persistent volume etc.
Co-Authored-By: @intrip