fix the task view and forward the task db size

This commit is contained in:
Irevoire
2022-10-23 11:23:24 +02:00
committed by Clément Renault
parent eb4bdde432
commit 8a23e707c1
3 changed files with 16 additions and 23 deletions

View File

@ -114,6 +114,7 @@ pub fn setup_meilisearch(opt: &Opt) -> anyhow::Result<(IndexScheduler, AuthContr
opt.db_path.join("update_files"),
opt.db_path.join("indexes"),
opt.dumps_dir.clone(),
opt.max_task_db_size.get_bytes() as usize,
opt.max_index_size.get_bytes() as usize,
(&opt.indexer_options).try_into()?,
true,