connect the new scheduler to meilisearch-http officially.

I can index documents and do search
This commit is contained in:
Tamo 2022-09-26 13:46:34 +02:00 committed by Clément Renault
parent cb4feabca2
commit ce2dfecc03
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
4 changed files with 38 additions and 13 deletions

View file

@ -46,6 +46,8 @@ async fn main() -> anyhow::Result<()> {
}
let meilisearch = setup_meilisearch(&opt)?;
let m = meilisearch.clone();
tokio::task::spawn_blocking(move || m.run());
let auth_controller = AuthController::new(&opt.db_path, &opt.master_key)?;