mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-05-01 00:31:09 +00:00
fix(config): set default value of database.in_memory
This commit is contained in:
parent
ab4812e101
commit
348fdc2498
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ pub struct Config {
|
|||
#[derive(Debug, Clone, Deserialize)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct DatabaseConfig {
|
||||
#[serde_inline_default(false)]
|
||||
pub in_memory: bool,
|
||||
#[serde_inline_default("/var/lib/blahd/db.sqlite".into())]
|
||||
pub path: PathBuf,
|
||||
|
|
Loading…
Add table
Reference in a new issue