mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-07-02 16:38:36 +00:00
change references of cache_capacity to db_cache_capacity
This commit is contained in:
parent
7e0aab7852
commit
3260ae01b8
4 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@ impl DatabaseEngine for Engine {
|
|||
Ok(Arc::new(Engine(
|
||||
sled::Config::default()
|
||||
.path(&config.database_path)
|
||||
.cache_capacity(config.cache_capacity as u64)
|
||||
.cache_capacity(config.db_cache_capacity as u64)
|
||||
.use_compression(true)
|
||||
.open()?,
|
||||
)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue