mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Declare the auth path in the index scheduler
This commit is contained in:
parent
67566af599
commit
5151bde209
4 changed files with 13 additions and 4 deletions
|
@ -110,6 +110,8 @@ pub fn setup_meilisearch(opt: &Opt) -> anyhow::Result<(IndexScheduler, AuthContr
|
|||
let auth_controller_builder = || AuthController::new(&opt.db_path, &opt.master_key);
|
||||
let index_scheduler_builder = || {
|
||||
IndexScheduler::new(
|
||||
// TODO find a better way to have the path of the auth store
|
||||
opt.db_path.join("auth"),
|
||||
opt.db_path.join("tasks"),
|
||||
opt.db_path.join("update_files"),
|
||||
opt.db_path.join("indexes"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue