mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-08-06 17:40:59 +00:00
support some deprecations
This commit is contained in:
parent
735d7a0815
commit
6e8beb604d
3 changed files with 29 additions and 4 deletions
|
@ -128,7 +128,7 @@ impl DatabaseEngine for Engine {
|
|||
let pool = Pool::new(
|
||||
Path::new(&config.database_path).join("conduit.db"),
|
||||
config.sqlite_read_pool_size,
|
||||
config.db_cache_capacity / 1024, // bytes -> kb
|
||||
config.db_cache_capacity.expect("fallbacks hasn't been called") / 1024, // bytes -> kb
|
||||
)?;
|
||||
|
||||
pool.write_lock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue