Re-apply some changes from #3132

This commit is contained in:
Louis Dureuil 2022-12-14 20:02:39 +01:00
parent d66bb3a53f
commit ce84a59873
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ fn open_or_create_database_unchecked(
update_file_path: opt.db_path.join("update_files"),
indexes_path: opt.db_path.join("indexes"),
snapshots_path: opt.snapshot_dir.clone(),
dumps_path: opt.dumps_dir.clone(),
dumps_path: opt.dump_dir.clone(),
task_db_size: opt.max_task_db_size.get_bytes() as usize,
index_size: opt.max_index_size.get_bytes() as usize,
indexer_config: (&opt.indexer_options).try_into()?,