1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-08-06 17:40:59 +00:00

warn on deprecated keys

This commit is contained in:
Jonathan de Jong 2021-07-12 21:23:20 +02:00
parent 3260ae01b8
commit b89cffed34
3 changed files with 25 additions and 26 deletions

View file

@ -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.expect("fallbacks hasn't been called") / 1024, // bytes -> kb
config.db_cache_capacity / 1024, // bytes -> kb
)?;
pool.write_lock()