mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
reduce the number of thread spawned by milli
This commit is contained in:
parent
b53a019b07
commit
6666c57880
3 changed files with 9 additions and 7 deletions
|
@ -66,8 +66,8 @@ async fn list_tasks() {
|
|||
async fn list_tasks_with_star_filters() {
|
||||
let server = Server::new().await;
|
||||
let index = server.index("test");
|
||||
index.create(None).await;
|
||||
index.wait_task(0).await;
|
||||
let (task, _code) = index.create(None).await;
|
||||
index.wait_task(task.uid()).await;
|
||||
index
|
||||
.add_documents(serde_json::from_str(include_str!("../assets/test_set.json")).unwrap(), None)
|
||||
.await;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue