1
0
Fork 0
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:
Jonathan de Jong 2021-07-12 18:05:43 +02:00
parent 735d7a0815
commit 6e8beb604d
3 changed files with 29 additions and 4 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 / 1024, // bytes -> kb
config.db_cache_capacity.expect("fallbacks hasn't been called") / 1024, // bytes -> kb
)?;
pool.write_lock()