Merge branch 'remove-default-database-config' into 'next'
chore: remove default database backend See merge request famedly/conduit!636
This commit is contained in:
commit
95f5c61843
1 changed files with 0 additions and 5 deletions
|
@ -21,7 +21,6 @@ pub struct Config {
|
|||
pub tls: Option<TlsConfig>,
|
||||
|
||||
pub server_name: OwnedServerName,
|
||||
#[serde(default = "default_database_backend")]
|
||||
pub database_backend: String,
|
||||
pub database_path: String,
|
||||
#[serde(default = "default_db_cache_capacity_mb")]
|
||||
|
@ -223,10 +222,6 @@ fn default_port() -> u16 {
|
|||
8000
|
||||
}
|
||||
|
||||
fn default_database_backend() -> String {
|
||||
"sqlite".to_owned()
|
||||
}
|
||||
|
||||
fn default_db_cache_capacity_mb() -> f64 {
|
||||
300.0
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue