1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-11-16 16:20:50 +01:00

chore: remove default database backend

has been sqlite for far too long, and having a default for this is just asking for trouble
This commit is contained in:
Matthias Ahouansou 2024-04-18 20:49:50 +01:00
parent d22bf5182b
commit 4b288fd22f
No known key found for this signature in database

View file

@ -21,7 +21,6 @@ pub struct Config {
pub tls: Option<TlsConfig>, pub tls: Option<TlsConfig>,
pub server_name: OwnedServerName, pub server_name: OwnedServerName,
#[serde(default = "default_database_backend")]
pub database_backend: String, pub database_backend: String,
pub database_path: String, pub database_path: String,
#[serde(default = "default_db_cache_capacity_mb")] #[serde(default = "default_db_cache_capacity_mb")]
@ -223,10 +222,6 @@ fn default_port() -> u16 {
8000 8000
} }
fn default_database_backend() -> String {
"sqlite".to_owned()
}
fn default_db_cache_capacity_mb() -> f64 { fn default_db_cache_capacity_mb() -> f64 {
300.0 300.0
} }