mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 16:21:24 +01:00
make database path a pathbuf
I'm guessing it wasn't like this already because of one of the admin commands I deleted.
This commit is contained in:
parent
5a5608e088
commit
81a449d1d2
3 changed files with 7 additions and 8 deletions
|
|
@ -327,7 +327,7 @@ impl Display for DatabaseBackend {
|
|||
#[serde(deny_unknown_fields)]
|
||||
pub(crate) struct DatabaseConfig {
|
||||
pub(crate) backend: DatabaseBackend,
|
||||
pub(crate) path: String,
|
||||
pub(crate) path: PathBuf,
|
||||
#[serde(default = "default_db_cache_capacity_mb")]
|
||||
pub(crate) cache_capacity_mb: f64,
|
||||
#[cfg(feature = "rocksdb")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue