fix: membership deserializing
This commit is contained in:
parent
51aa6448bc
commit
84f4ce73e5
9 changed files with 74 additions and 63 deletions
|
@ -108,7 +108,7 @@ impl Database {
|
|||
pub async fn load_or_create(config: Config) -> Result<Self> {
|
||||
let db = sled::Config::default()
|
||||
.path(&config.database_path)
|
||||
.cache_capacity(config.cache_capacity as u64)
|
||||
.cache_capacity(config.cache_capacity as usize)
|
||||
.use_compression(true)
|
||||
.open()?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue